[Dwoo] element index

All elements
a b c d e f g h i l m n o p r s t u v w _
_
top
$_filters
__call
__call
Dwoo::__call() in Dwoo.php
Redirects all calls to unexisting to plugin proxy.
__clone
Dwoo::__clone() in Dwoo.php
resets some runtime variables to allow a cloned object to be used to render sub-templates
__construct
creates a template from a file
__construct
__construct
__construct
constructor, if you override it, call parent::__construct($dwoo); or assign the dwoo instance yourself if you need it
__construct
constructor, if you override it, call parent::__construct($dwoo); or assign the dwoo instance yourself if you need it
__construct
constructor, if you override it, call parent::__construct($dwoo); or assign the dwoo instance yourself if you need it
__construct
creates a template from a string
__construct
constructor, sets the cache and compile dir to the default values if not provided
__construct
constructor
__construct
__get
Dwoo_Data::__get() in Data.php
allows to read variables using the object syntax
__get
__isset
supports calls to isset($dwooData->var)
__set
Dwoo_Data::__set() in Data.php
allows to assign variables using the object syntax
__set
__unset
supports unsetting variables using the object syntax
a
top
$allowedDirectories
paths that are safe to use with include or other file-access plugins
$allowedPhpFunctions
php functions that are allowed to be used within the template
$allowLooseOpenings
defines whether opening and closing tags can contain spaces before valid data or not
$allowNestedComments
defines whether the nested comments should be parsed as nested or not
$assign
$autoEscape
defines whether the compiler will automatically html-escape variables or not
addBlock
adds a block to the top of the block stack
addCustomBlock
adds a custom block to the top of the block stack
addDirectory
adds a plugin directory, the plugins found in the new plugin directory
addFilter
Dwoo::addFilter() in Dwoo.php
adds a filter to this Dwoo instance, it will be used to filter the output of all the templates rendered by this instance
addPlugin
Dwoo::addPlugin() in Dwoo.php
adds a custom plugin that is not in one of the plugin directories
addPostProcessor
adds a postprocessor to the compiler, it will be called before the template is compiled
addPreProcessor
adds a preprocessor to the compiler, it will be called before the template is compiled
addResource
adds a resource or overrides a default one
addStack
Dwoo::addStack() in Dwoo.php
[runtime function] adds a block to the block stack
addTemplatePlugin
adds a template plugin, this is reserved for use by the {template} plugin
addUsedPlugin
adds an used plugin, this is reserved for use by the {template} plugin
allowDirectory
adds a directory to the safelist for includes and other file-access plugins
allowPhpFunction
adds a php function to the allowed list
append
appends values or an array of values to the data object
appendByRef
appends a value by reference to the data object
append_by_ref
arrayMap
Dwoo::arrayMap() in Dwoo.php
[runtime function] calls a php function
assign
assigns a value or an array of values to the data object
assignByRef
assigns a value by reference to the data object
assignInScope
[runtime function] assign the value to the given variable
assign_by_ref
Adapter.php
Adapter.php in Adapter.php
a.php
a.php in a.php
auto_escape.php
auto_escape.php in auto_escape.php
assign.php
assign.php in assign.php
b
top
$buffer
stores the contents of the block while it runs
$buffer
Dwoo::$buffer in Dwoo.php
stores the output buffer during template runtime
BLOCK_PLUGIN
Dwoo::BLOCK_PLUGIN in Dwoo.php
constants that represents all plugin types
buffer
buffers input, override only if necessary
Block.php
Block.php in Block.php
block.php
block.php in block.php
c
top
$cache
caches the results of the file checks to save some time when the same templates is rendered several times
$cacheDir
Dwoo::$cacheDir in Dwoo.php
directory where the cached templates are stored
$cacheDir
path where class paths cache files are written
$cacheId
template cache id, if not provided in the constructor, it is set to the md4 hash of the request_uri. it is however highly recommended to provide one that will fit your needs.
$cacheTime
Dwoo::$cacheTime in Dwoo.php
defines how long (in seconds) the cached files must remain valid
$cacheTime
validity duration of the generated cache file (in seconds)
$cache_dir
$cache_lifetime
$caching
$callback
$callback
$charset
Dwoo::$charset in Dwoo.php
character set of the template, used by string manipulation plugins
$childSource
$chmod
chmod value for all files written (cached or compiled ones)
$classPath
stores the plugins names/paths relationships don't edit this on your own, use addDirectory
$cnt
$cnt
$cnt
$cnt
$cnt
$compat
$compilationEnforced
boolean flag that defines whether the compilation should be enforced (once) or not use this if you have issues with the compiled templates not being updated but if you do need this it's most likely that you should file a bug report
$compileDir
Dwoo::$compileDir in Dwoo.php
directory where the compiled templates are stored
$compileId
template compilation id
$compiler
holds the compiler that built this template
$compiler
$compiler
Dwoo_Processor::$compiler in Processor.php
the compiler instance that runs this processor
$compiler
$compiler_class
$compiler_file
$compile_check
$compile_dir
$compile_id
$config_dir
$constHandling
stores the constant handling level
$corePluginDir
$counters
$curBlock
Dwoo_Compiler::$curBlock in Compiler.php
current block at the top of the block plugins stack, accessible through getCurrentBlock
$curBlock
Dwoo::$curBlock in Dwoo.php
stores the current block plugin at the top of the stack during template runtime
$customPlugins
stores the custom plugins registered with this compiler
$cycles
cache
Dwoo_ITemplate::cache() in ITemplate.php
caches the provided output into the cache file
cache
caches the provided output into the cache file
classCall
Dwoo::classCall() in Dwoo.php
[runtime function] calls the process() method of the given class-plugin name
CLASS_PLUGIN
Dwoo::CLASS_PLUGIN in Dwoo.php
constants that represents all plugin types
clear
Dwoo_Data::clear() in Data.php
clears a the entire data or only the given key
clearCache
Dwoo::clearCache() in Dwoo.php
[util function] clears the cached templates if they are older than the given time
clearCache
clears the cached template if it's older than the given time
clearCache
clears the cached template if it's older than the given time
clear_all_assign
clear_all_cache
clear_assign
clear_cache
closeTag
returns a closing tag and removes a tab from the auto indenting
COMPILABLE_PLUGIN
constants that represents all plugin types
compile
Dwoo_Compiler::compile() in Compiler.php
compiles the provided string down to php code
compile
Dwoo_ICompiler::compile() in ICompiler.php
compiles the provided string down to php code
compile
compilerFactory
returns a default instance of this compiler, used by default by all Dwoo templates that do not have a specific compiler assigned and when you do not override the default compiler factory function
CONST_ALLOW
constant handling constants, defaults to CONST_DISALLOW
CONST_DISALLOW
constant handling constants, defaults to CONST_DISALLOW
convertSection
CUSTOM_PLUGIN
constants that represents all plugin types
Compiler.php
Compiler.php in Compiler.php
capture.php
capture.php in capture.php
capitalize.php
capitalize.php in capitalize.php
cat.php
cat.php in cat.php
counter.php
counter.php in counter.php
count_characters.php
count_characters.php in count_characters.php
count_paragraphs.php
count_paragraphs.php in count_paragraphs.php
count_sentences.php
count_sentences.php in count_sentences.php
count_words.php
count_words.php in count_words.php
cycle.php
cycle.php in cycle.php
d
top
$data
Dwoo::$data in Dwoo.php
stores the data during template runtime
$data
Dwoo_Compiler::$data in Compiler.php
stores the data within which the scope moves
$data
Dwoo_Data::$data in Data.php
data array
$dataProvider
$debug
Dwoo_Compiler::$debug in Compiler.php
boolean flag to enable or disable debugging output
$dwoo
Dwoo_Plugin::$dwoo in Plugin.php
the dwoo instance that runs this plugin
$dwoo
Dwoo_Compiler::$dwoo in Compiler.php
current dwoo object that uses this compiler, or null
$dwoo
Dwoo_Filter::$dwoo in Filter.php
the dwoo instance that runs this filter
delStack
Dwoo::delStack() in Dwoo.php
[runtime function] removes the plugin at the top of the block stack
DIR_SEP
DIR_SEP in Adapter.php
disallowDirectory
removes a directory from the safelist
disallowPhpFunction
removes a php function from the allowed list
display
Dwoo
Dwoo in Dwoo.php
main dwoo class, allows communication between the compiler, template and data classes
Data.php
Data.php in Data.php
Dwoo.php
Dwoo.php in Dwoo.php
dwooAutoload
dwooAutoload() in dwooAutoload.php
dwooAutoload.php
dwooAutoload.php in dwooAutoload.php
Dwoo_Block_Plugin
Dwoo_Block_Plugin in Plugin.php
base class for block plugins
Dwoo_Compilation_Exception
dwoo compilation exception class
Dwoo_Compiler
Dwoo_Compiler in Compiler.php
default dwoo compiler class, compiles dwoo templates into php
Dwoo_Data
Dwoo_Data in Data.php
dwoo data object, use it for complex data assignments or if you want to easily pass it around multiple functions to avoid passing an array by reference
DWOO_DIRECTORY
DWOO_DIRECTORY in Dwoo.php
Dwoo_Exception
Dwoo_Exception in Exception.php
main dwoo exception class
Dwoo_Filter
Dwoo_Filter in Filter.php
base class for filters
Dwoo_Filter_html_format
Dwoo_Filter_html_format in html_format.php
Formats any html output (must be valid xml where every tag opened is closed) using a single tab for indenting. 'pre' and other whitespace sensitive tags should not be affected.
Dwoo_ICompilable
Dwoo_ICompilable in ICompilable.php
interface that represents a compilable plugin
Dwoo_ICompilable_Block
interface that represents a compilable block plugin
Dwoo_ICompiler
Dwoo_ICompiler in ICompiler.php
interface that represents a dwoo compiler
Dwoo_IDataProvider
Dwoo_IDataProvider in IDataProvider.php
interface that represents a dwoo data object
Dwoo_IElseable
Dwoo_IElseable in IElseable.php
interface that represents a block plugin that supports the else functionality
Dwoo_ILoader
Dwoo_ILoader in ILoader.php
interface for dwoo plugin loaders
Dwoo_IPluginProxy
Dwoo_IPluginProxy in IPluginProxy.php
interface that represents a dwoo plugin proxy
Dwoo_ITemplate
Dwoo_ITemplate in ITemplate.php
interface that represents a dwoo template
Dwoo_Loader
Dwoo_Loader in Loader.php
handles plugin loading and caching of plugins names/paths relationships
Dwoo_Plugin
Dwoo_Plugin in Plugin.php
base plugin class
Dwoo_Plugin_a
Dwoo_Plugin_a in a.php
Outputs a html <a> tag
Dwoo_Plugin_array_compile
Dwoo_Plugin_array_compile() in helper.array.php
Dwoo_Plugin_assign_compile
Dwoo_Plugin_auto_escape
Dwoo_Plugin_auto_escape in auto_escape.php
Overrides the compiler auto-escape setting within the block
Dwoo_Plugin_block
Dwoo_Plugin_block in block.php
This is used only when rendering a template that has blocks but is not extending anything, it doesn't do anything by itself and should not be used outside of template inheritance context, see http://wiki.dwoo.org/index.php/TemplateInheritance to read more about it.
Dwoo_Plugin_capitalize
Dwoo_Plugin_capitalize() in capitalize.php
Dwoo_Plugin_capture
Dwoo_Plugin_capture in capture.php
Captures all the output within this block and saves it into {$.capture.default} by default, or {$.capture.name} if you provide another name.
Dwoo_Plugin_cat_compile
Dwoo_Plugin_counter
Dwoo_Plugin_counter in counter.php
Initiates a counter that is incremented every time you call it
Dwoo_Plugin_count_characters_compile
Dwoo_Plugin_count_paragraphs_compile
Dwoo_Plugin_count_sentences_compile
Dwoo_Plugin_count_words_compile
Dwoo_Plugin_cycle
Dwoo_Plugin_cycle in cycle.php
Cycles between several values and returns one of them on each call
Dwoo_Plugin_date_format
Dwoo_Plugin_date_format() in date_format.php
Dwoo_Plugin_default_compile
Dwoo_Plugin_dump
Dwoo_Plugin_dump in dump.php
Dumps values of the given variable, or the entire data if nothing provided
Dwoo_Plugin_dynamic
Dwoo_Plugin_dynamic in dynamic.php
Marks the contents of the block as dynamic. Which means that it will not be cached.
Dwoo_Plugin_else
Dwoo_Plugin_else in else.php
Generic else block, it supports all builtin optional-display blocks which are if/for/foreach/loop/with
Dwoo_Plugin_elseif
Dwoo_Plugin_elseif in elseif.php
Acts as a php elseif block, allowing you to add one more condition if the previous one(s) didn't match. See the {if} plugin for syntax details
Dwoo_Plugin_eol_compile
Dwoo_Plugin_escape
Dwoo_Plugin_escape() in escape.php
Dwoo_Plugin_eval
Dwoo_Plugin_eval() in eval.php
Dwoo_Plugin_extends
Dwoo_Plugin_extends in extends.php
Extends another template, read more about template inheritance at http://wiki.dwoo.org/index.php/TemplateInheritance
Dwoo_Plugin_extendsCheck_compile
Dwoo_Plugin_fetch
Dwoo_Plugin_fetch() in fetch.php
Dwoo_Plugin_for
Dwoo_Plugin_for in for.php
Similar to the php for block
Dwoo_Plugin_foreach
Dwoo_Plugin_foreach in foreach.php
Similar to the php foreach block, loops over an array
Dwoo_Plugin_foreachelse
Dwoo_Plugin_foreachelse in foreachelse.php
This plugin serves as a {else} block specifically for the {foreach} plugin.
Dwoo_Plugin_forelse
Dwoo_Plugin_forelse in forelse.php
This plugin serves as a {else} block specifically for the {for} plugin.
Dwoo_Plugin_if
Dwoo_Plugin_if in if.php
Conditional block, the syntax is very similar to the php one, allowing () || && and other php operators. Additional operators and their equivalent php syntax are as follow :
Dwoo_Plugin_include
Dwoo_Plugin_include() in include.php
Dwoo_Plugin_indent_compile
Dwoo_Plugin_isset_compile
Dwoo_Plugin_load_templates_compile
Dwoo_Plugin_loop
Dwoo_Plugin_loop in loop.php
Loops over an array and moves the scope into each value, allowing for shorter loop constructs
Dwoo_Plugin_lower_compile
Dwoo_Plugin_mailto
Dwoo_Plugin_mailto() in mailto.php
Dwoo_Plugin_math_compile
Dwoo_Plugin_nl2br_compile
Dwoo_Plugin_optional_compile
Dwoo_Plugin_regex_replace
Dwoo_Plugin_regex_replace() in regex_replace.php
Dwoo_Plugin_replace_compile
Dwoo_Plugin_reverse
Dwoo_Plugin_reverse() in reverse.php
Dwoo_Plugin_safe_compile
Dwoo_Plugin_section
Dwoo_Plugin_section in section.php
Compatibility plugin for smarty templates, do not use otherwise, this is deprecated.
Dwoo_Plugin_smartyinterface
Dwoo_Plugin_smartyinterface in smartyinterface.php
Smarty compatibility layer for block plugins, this is used internally and you should not call it
Dwoo_Plugin_spacify_compile
Dwoo_Plugin_string_format_compile
Dwoo_Plugin_strip
Dwoo_Plugin_strip in strip.php
Strips the spaces at the beginning and end of each line and also the line breaks
Dwoo_Plugin_strip_tags_compile
Dwoo_Plugin_template
Dwoo_Plugin_template in template.php
Defines a sub-template that can then be called (even recursively) with the defined arguments
Dwoo_Plugin_textformat
Dwoo_Plugin_textformat in textformat.php
Formats a string to the given format, you can wrap lines at a certain
Dwoo_Plugin_tif_compile
Dwoo_Plugin_topLevelBlock
Dwoo_Plugin_topLevelBlock in topLevelBlock.php
Internal plugin used to wrap the template output, do not use in your templates as it will break them
Dwoo_Plugin_truncate
Dwoo_Plugin_truncate() in truncate.php
Dwoo_Plugin_upper_compile
Dwoo_Plugin_whitespace_compile
Dwoo_Plugin_with
Dwoo_Plugin_with in with.php
Moves the scope down into the provided variable, allowing you to use shorter variable names if you repeatedly access values into a single array
Dwoo_Plugin_withelse
Dwoo_Plugin_withelse in withelse.php
This plugin serves as a {else} block specifically for the {with} plugin.
Dwoo_Plugin_wordwrap_compile
Dwoo_Processor
Dwoo_Processor in Processor.php
base class for processors
Dwoo_Processor_smarty_compat
Dwoo_Processor_smarty_compat in pre.smarty_compat.php
Performs some template conversions to allow smarty templates to be used by the Dwoo compiler.
Dwoo_Security_Exception
Dwoo_Security_Exception in Exception.php
dwoo security exception class
Dwoo_Security_Policy
Dwoo_Security_Policy in Policy.php
represents the security settings of a dwoo instance, it can be passed around to different dwoo instances
Dwoo_Smarty_Adapter
Dwoo_Smarty_Adapter in Adapter.php
a Smarty compatibility layer for Dwoo
Dwoo_Smarty_Filter_Adapter
base class for filters
Dwoo_Smarty_Processor_Adapter
base class for processors
Dwoo_Smarty__Adapter
Dwoo_Smarty__Adapter in Adapter.php
a Smarty compatibility layer for Dwoo
Dwoo_Template_File
Dwoo_Template_File in File.php
represents a Dwoo template contained in a file
Dwoo_Template_String
Dwoo_Template_String in String.php
represents a Dwoo template contained in a string
dynamic.php
dynamic.php in dynamic.php
date_format.php
date_format.php in date_format.php
default.php
default.php in default.php
dump.php
dump.php in dump.php
e
top
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
end
called when the block ends, this is most of the time followed right away by a call of <em>process()</em> but not always, so this should be used to do any shutdown operations on the block object, if required.
export
exportObj
exportVar
else.php
else.php in else.php
elseif.php
elseif.php in elseif.php
eol.php
eol.php in eol.php
escape.php
escape.php in escape.php
eval.php
eval.php in eval.php
extends.php
extends.php in extends.php
extendsCheck.php
extendsCheck.php in extendsCheck.php
f
top
$file
template filename
$filters
Dwoo::$filters in Dwoo.php
stores the filter callbacks
$force_compile
Filter.php
Filter.php in Filter.php
File.php
File.php in File.php
fetch
findBlock
Dwoo::findBlock() in Dwoo.php
[runtime function] finds the closest block of the given type, starting at the top of the stack
findBlock
returns a reference to the first block of the given type encountered and optionally closes all blocks until it finds it
flattenVarTree
flattens a variable tree, this helps in parsing very complex variables such as $var.foo[$foo.bar->baz].baz, it computes the contents of the brackets first and works out from there
forceCompilation
marks this template as compile-forced, which means it will be recompiled even if it
FUNC_PLUGIN
Dwoo::FUNC_PLUGIN in Dwoo.php
constants that represents all plugin types
for.php
for.php in for.php
foreach.php
foreach.php in foreach.php
foreachelse.php
foreachelse.php in foreachelse.php
forelse.php
forelse.php in forelse.php
fetch.php
fetch.php in fetch.php
g
top
$globals
Dwoo::$globals in Dwoo.php
global variables that are accessible through $dwoo.* in the templates
get
get
Dwoo::get() in Dwoo.php
returns the given template rendered using the provided data and optional compiler
get
Dwoo_Data::get() in Data.php
returns a variable if it was assigned
getAllowedDirectories
returns the list of safe paths, note that the paths are stored in the array keys and not values
getAllowedPhpFunctions
returns the list of php functions allowed to run, note that the function names are stored in the array keys and not values
getAutoEscape
returns the auto escape setting
getCacheDir
returns the cache directory with a trailing DIRECTORY_SEPARATOR
getCachedTemplate
returns the cached template output file name, true if it's cache-able but not cached or false if it's not cached
getCachedTemplate
returns the cached template output file name, true if it's cache-able but not cached or false if it's not cached
getCacheFilename
returns the full cached file name and assigns a default value to it if required
getCacheTime
returns the cache duration for this template
getCacheTime
returns the default cache time that is used with templates that do not have a cache time set
getCacheTime
returns the cache duration for this template
getCallback
returns a callback to the plugin, this is used with the reflection API to find out about the plugin's parameter names etc.
getCharset
Dwoo::getCharset() in Dwoo.php
returns the character set used by the string manipulation plugins
getChmod
returns the chmod value for all files written (cached or compiled ones)
getCode
Dwoo_IPluginProxy::getCode() in IPluginProxy.php
returns the code (as a string) to call the plugin (this will be executed at runtime inside the Dwoo class)
getCompiledFilename
returns the full compiled file name and assigns a default value to it if required
getCompiledFilename
returns the full compiled file name and assigns a default value to it if required
getCompileDir
returns the compile directory with a trailing DIRECTORY_SEPARATOR
getCompiledParams
returns the compiled parameters (for example a variable's compiled parameter will be "$this->scope['key']") out of the given parameter array
getCompiledTemplate
returns the compiled template file name
getCompiledTemplate
returns the compiled template file name
getCompiler
returns the compiler used by this template, if it was just compiled, or null
getCompiler
getCompiler
returns the compiler used by this template, if it was just compiled, or null
getConstantHandling
returns the constant handling level
getCurrentBlock
returns a reference to the current block array
getCustomPlugins
returns the custom plugins loaded
getData
Dwoo::getData() in Dwoo.php
[runtime function] returns the entire data array
getData
returns the data array
getData
Dwoo_IDataProvider::getData() in IDataProvider.php
returns the data as an associative array that will be used in the template
getDefaultCompilerFactory
returns the default compiler factory function for the given resource name
getDelimiters
returns the left and right template delimiters
getDwoo
Dwoo_Compiler::getDwoo() in Compiler.php
returns the dwoo object that initiated this template compilation, only available during compilation of a template
getIncludePath
return the current include path(s)
getIsModifiedCode
returns some php code that will check if this template has been modified or not
getIsModifiedCode
returns some php code that will check if this template has been modified or not
getIsModifiedCode
returns some php code that will check if this template has been modified or not
getLine
Dwoo_Compiler::getLine() in Compiler.php
returns the current line number, only available during compilation of a template
getLoader
Dwoo::getLoader() in Dwoo.php
returns the current loader object or a default one if none is currently found
getLoader
Dwoo_IPluginProxy::getLoader() in IPluginProxy.php
returns some code that will check if the plugin is loaded and if not load it this is optional, if your plugins are autoloaded or whatever, just return an empty string
getLooseOpeningHandling
returns the tag openings handling strictness setting
getName
Dwoo_ITemplate::getName() in ITemplate.php
returns the template name
getName
returns the template name
getNestedCommentsHandling
returns the nested comments handling setting
getObjectPlugin
[runtime function] returns a Dwoo_Plugin of the given class
getParamMap
returns the parameter map of the given callback, it filters out entries typed as Dwoo and Dwoo_Compiler and turns the rest parameter into a "*"
getParentBlock
[runtime function] returns the parent block of the given block
getPhpHandling
returns the php handling level
getPluginProxy
returns the current plugin proxy object or null by default
getPluginType
returns the plugin type of a plugin and adds it to the used plugins array if required
getPointer
returns the current pointer position, only available during compilation of a template
getRealParams
returns the real parameters (for example a variable's real parameter will be its key, etc) out of the given parameter array
getResourceIdentifier
returns the resource identifier for this template, false here as strings don't have identifiers
getResourceIdentifier
returns the resource identifier for this template or false if it has no identifier
getResourceIdentifier
returns this template's source filename
getResourceName
returns the resource name for this template class
getResourceName
returns the resource name for this template class
getResourceName
returns the resource name for this template class
getScope
Dwoo::getScope() in Dwoo.php
[runtime function] returns a reference to the current scope
getSecurityPolicy
returns the current security policy object or null by default
getSecurityPolicy
returns the current security policy object or null by default
getSource
returns the template source of this template
getSource
returns the template source of this template
getSource
returns the template source of this template
getTemplate
getTemplate
returns the current template being rendered, when applicable, or null
getTemplatePlugins
returns all the parsed sub-templates
getTemplateSource
returns the template that is being compiled
getUid
returns an unique value identifying the current version of this template, in this case it's the md4 hash of the content
getUid
returns an unique value identifying the current version of this template, in this case it's the unix timestamp of the last modification
getUid
Dwoo_ITemplate::getUid() in ITemplate.php
returns an unique string identifying the current version of this template, for example a timestamp of the last modified date or a hash of the template source
getUsedPlugins
returns all the plugins this template uses
get_registered_object
get_template_vars
h
top
handles
Dwoo_IPluginProxy::handles() in IPluginProxy.php
returns true or false to say whether the given plugin is handled by this proxy or not
html_format.php
html_format.php in html_format.php
helper.array.php
helper.array.php in helper.array.php
i
top
$includePath
include path(s) to look into to find this template
$indChar
$indent
$indFirst
$instance
Dwoo_Compiler::$instance in Compiler.php
holds an instance of this class, used by getInstance when you don't provide a custom compiler in order to save resources
ICompilable.php
ICompilable.php in ICompilable.php
ICompiler.php
ICompiler.php in ICompiler.php
IDataProvider.php
IDataProvider.php in IDataProvider.php
IElseable.php
IElseable.php in IElseable.php
ILoader.php
ILoader.php in ILoader.php
IPluginProxy.php
IPluginProxy.php in IPluginProxy.php
ITemplate.php
ITemplate.php in ITemplate.php
implode_r
recursively implodes an array in a similar manner as var_export() does but with some tweaks to handle pre-compiled values and the fact that we do not need to enclose everything with "array" and do not require top-level keys to be displayed
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
init
initGlobals
initGlobals
re-initializes the globals array before each template run
initRuntimeVars
re-initializes the runtime variables before each template run
injectBlock
injects a block at the top of the plugin stack without calling its preProcessing method
isArray
Dwoo::isArray() in Dwoo.php
[util function] checks if the input is an array or an iterator object, optionally it can also check if it's empty
isAssigned
returns true if the variable has been assigned already, false otherwise
isCached
Dwoo::isCached() in Dwoo.php
[util function] checks whether the given template is cached or not
isValidCompiledFile
Checks if compiled file is valid (it exists)
isValidCompiledFile
Checks if compiled file is valid (exists and it's the modification is greater or equal to the modification time of the template file)
is_cached
if.php
if.php in if.php
include.php
include.php in include.php
indent.php
indent.php in indent.php
isset.php
isset.php in isset.php
l
top
$l
$lastCallAdd
stores the additional data (following a tag) of the last call to open/close/singleTag
$lastReplacement
$ld
Dwoo_Compiler::$ld in Compiler.php
left script delimiter
$ldr
Dwoo_Compiler::$ldr in Compiler.php
left script delimiter with escaped regex meta characters
$left_delimiter
$line
Dwoo_Compiler::$line in Compiler.php
stores the current line count inside the template for debugging purposes
$loader
Dwoo::$loader in Dwoo.php
the dwoo loader object used to load plugins by this dwoo instance
Loader.php
Loader.php in Loader.php
loadPlugin
loads a plugin file
loadPlugin
loads a plugin file
loadPlugin
allows a plugin to load another one at compile time, this will also mark
loadProcessor
internal function to autoload processors at runtime if required
loop.php
loop.php in loop.php
load_templates.php
load_templates.php in load_templates.php
lower.php
lower.php in lower.php
m
top
makeDirectory
ensures the given path exists
makeTemplate
mapParams
maps the parameters received from the template onto the parameters required by the given callback
mergeData
merges the given array(s) with the current data with array_merge
mailto.php
mailto.php in mailto.php
math.php
math.php in math.php
n
top
$name
template name
NATIVE_PLUGIN
constants that represents all plugin types
nl2br.php
nl2br.php in nl2br.php
o
top
$outputMethods
$outputObjects
openTag
returns an open tag and adds a tab into the auto indenting
output
Dwoo::output() in Dwoo.php
outputs the template instead of returning it, this is basically a shortcut for get(*, *, *, true)
optional.php
optional.php in optional.php
p
top
$paths
Dwoo_Loader::$paths in Loader.php
stores the plugin directories
$phpHandling
stores the php handling level
$php_handling
$pluginProxy
Dwoo::$pluginProxy in Dwoo.php
stores plugin proxy
$plugins
Dwoo::$plugins in Dwoo.php
stores the custom plugins callbacks
$plugins_dir
$pointer
Dwoo_Compiler::$pointer in Compiler.php
stores the current pointer position inside the template
$processors
stores the pre- and post-processors callbacks
Plugin.php
Plugin.php in Plugin.php
Plugin.php
Plugin.php in Plugin.php
Processor.php
Processor.php in Processor.php
Policy.php
Policy.php in Policy.php
paramsToAttributes
utility function that converts an array of compiled parameters (or rest array) to a string of xml/html tag attributes
parse
Dwoo_Compiler::parse() in Compiler.php
entry point of the parser, it redirects calls to other parse* functions
parseConst
parses a constant
parseConstKey
parses a constant
parseFunction
parses a function call
parseMethodCall
parses any number of chained method calls/property reads
parseOthers
parses various constants, operators or non-quoted strings
parseString
parses a string
parseVar
parses a variable
parseVarKey
parses a constant variable (a variable that doesn't contain another variable) and preprocesses it to save runtime processing time
phpTagEncodingHelper
runs htmlentities over the matched <?php ?> blocks when the security policy enforces that
PHP_ALLOW
php handling constants, defaults to PHP_REMOVE
PHP_CLOSE
Dwoo_Compiler::PHP_CLOSE in Compiler.php
constant that represents a php closing tag
PHP_ENCODE
php handling constants, defaults to PHP_REMOVE
PHP_OPEN
Dwoo_Compiler::PHP_OPEN in Compiler.php
constant that represents a php opening tag
PHP_REMOVE
php handling constants, defaults to PHP_REMOVE
pre.smarty_compat.php
pre.smarty_compat.php in pre.smarty_compat.php
postProcessing
postProcessing
postProcessing
called at compile time to define what the block should output in the compiled template code, happens when the block is ended
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
postProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
preProcessing
called at compile time to define what the block should output in the compiled template code, happens when the block is declared
preProcessing
process
formats the input using the singleTag/closeTag/openTag functions
process
process
process
process
process
Dwoo_Processor::process() in Processor.php
processes the input and returns it filtered
process
processes the input and returns it filtered
process
called when the block output is required by a parent block
process
process
process
PROXY_PLUGIN
Dwoo::PROXY_PLUGIN in Dwoo.php
constants that represents all plugin types
push
Dwoo_Compiler::push() in Compiler.php
adds compiled content to the current block
r
top
$r
$rd
Dwoo_Compiler::$rd in Compiler.php
right script delimiter
$rdr
Dwoo_Compiler::$rdr in Compiler.php
right script delimiter with escaped regex meta characters
$resolvedPath
resolved path cache when looking for a file in multiple include paths
$resources
Dwoo::$resources in Dwoo.php
stores the resource types and associated classes / compiler classes
$right_delimiter
$runtimePlugins
stores the instances of the class plugins during template runtime
regex_replace.php
regex_replace.php in regex_replace.php
replace.php
replace.php in replace.php
reverse.php
reverse.php in reverse.php
readParentVar
[runtime function] reads a variable into the parent scope
readVar
Dwoo::readVar() in Dwoo.php
[runtime function] reads a variable into the current scope
readVarInto
[runtime function] reads a variable into the given data array
rebuildClassPathCache
rebuilds class paths, scans the given directory recursively and saves all paths in the given file
recompile
resets the compilation pointer, effectively restarting the compilation process
registerCallback
registerCallback
register_block
register_function
register_modifier
register_object
register_outputfilter
register_postfilter
register_prefilter
RELEASE_TAG
Dwoo::RELEASE_TAG in Dwoo.php
unique number of this dwoo release
removeBlock
removes the closest-to-top block of the given type and all other blocks encountered while going down the block stack
removeFilter
removes a filter
removePlugin
removes a custom plugin
removePostProcessor
removes a postprocessor from the compiler
removePreProcessor
removes a preprocessor from the compiler
removeResource
removes a custom resource
removeTopBlock
removes the block at the top of the stack and calls its postProcessing() method
replaceBlock
replaceKeywords
replaceModifiers
replaces the modifiers applied to a string or a variable
replaceStringVars
replaces variables within a parsed string
replaceVarKeyHelper
helper function that parses a variable
resolveSubTemplateDependencies
checks what sub-templates are used in every sub-template so that we're sure they are all compiled
s
top
$scope
Dwoo::$scope in Dwoo.php
stores the current scope during template runtime
$scope
Dwoo_Compiler::$scope in Compiler.php
variable scope of the compiler, set to null if it can not be resolved to a static string (i.e. if some plugin defines a new scope based on a variable array key)
$scopeTree
Dwoo::$scopeTree in Dwoo.php
stores the scope tree during template runtime
$scopeTree
variable scope tree, that allows to rebuild the current scope if required, i.e. when going to a parent level
$secure_dir
$security
$securityPolicy
security policy object
$securityPolicy
security policy object
$security_settings
$show_compat_errors
$stack
Dwoo::$stack in Dwoo.php
stores the block plugins stack during template runtime
$stack
Dwoo_Compiler::$stack in Compiler.php
block plugins stack, accessible through some methods
$stack
String.php
String.php in String.php
section.php
section.php in section.php
smartyinterface.php
smartyinterface.php in smartyinterface.php
strip.php
strip.php in strip.php
safe.php
safe.php in safe.php
spacify.php
spacify.php in spacify.php
string_format.php
string_format.php in string_format.php
strip_tags.php
strip_tags.php in strip_tags.php
setAutoEscape
changes the auto escape setting
setCacheDir
sets the cache directory and automatically appends a DIRECTORY_SEPARATOR
setCacheTime
sets the cache duration for this template
setCacheTime
sets the cache duration for this template
setCacheTime
sets the default cache time to use with templates that do not have a cache time set
setCharset
Dwoo::setCharset() in Dwoo.php
sets the character set used by the string manipulation plugins
setChmod
set the chmod value for all files written (cached or compiled ones)
setCompileDir
sets the compile directory and automatically appends a DIRECTORY_SEPARATOR
setConstantHandling
sets the constant handling level, defaults to CONST_DISALLOW
setCustomPlugins
adds the custom plugins loaded into Dwoo to the compiler so it can load them
setCustomPlugins
adds the custom plugins loaded into Dwoo to the compiler so it can load them
setData
overwrites the entire data with the given array
setDefaultCompilerFactory
sets the default compiler factory function for the given resource name
setDelimiters
sets the delimiters to use in the templates
setIncludePath
sets the include path(s) to where the given template filename must be looked up
setLine
Dwoo_Compiler::setLine() in Compiler.php
sets the line number
setLoader
Dwoo::setLoader() in Dwoo.php
sets the loader object to use to load plugins
setLooseOpeningHandling
sets the tag openings handling strictness, if set to true, template tags can contain spaces before the first function/string/variable such as { $foo} is valid.
setNestedCommentsHandling
sets the way to handle nested comments, if set to true {* foo {* some other *} comment *} will be stripped correctly.
setPhpHandling
sets the php handling level, defaults to REMOVE
setPluginProxy
sets the object that must be used as a plugin proxy when plugin can't be found by dwoo's loader
setPointer
sets the pointer position
setScope
sets the scope
setScope
Dwoo::setScope() in Dwoo.php
[runtime function] sets the scope to the given scope string or array
setSecurityPolicy
sets the security policy object to enforce some php security settings
setSecurityPolicy
sets the security policy object to enforce some php security settings
setSecurityPolicy
sets the security policy object to enforce some php security settings
setTemplate
sets the current template being rendered
setTemplateSource
overwrites the template that is being compiled
singleTag
returns a single tag with auto indenting
Smarty
Smarty in Adapter.php
SMARTY_BLOCK
Dwoo::SMARTY_BLOCK in Dwoo.php
constants that represents all plugin types
SMARTY_FUNCTION
constants that represents all plugin types
SMARTY_MODIFIER
constants that represents all plugin types
SMARTY_PHP_ALLOW
SMARTY_PHP_ALLOW in Adapter.php
SMARTY_PHP_PASSTHRU
SMARTY_PHP_PASSTHRU in Adapter.php
SMARTY_PHP_QUOTE
SMARTY_PHP_QUOTE in Adapter.php
SMARTY_PHP_REMOVE
SMARTY_PHP_REMOVE in Adapter.php
t
top
$tabCount
tab count to auto-indent the source
$template
$template
Dwoo_Compiler::$template in Compiler.php
stores the template undergoing compilation
$template
Dwoo::$template in Dwoo.php
currently rendered template, set to null when not-rendering
$templatePlugins
stores the template plugins registered with this compiler
$templateSource
stores the current template source while compiling it
$template_dir
$tplCache
$trusted_dir
template.php
template.php in template.php
textformat.php
textformat.php in textformat.php
topLevelBlock.php
topLevelBlock.php in topLevelBlock.php
tif.php
tif.php in tif.php
truncate.php
truncate.php in truncate.php
tagDispatcher
helper function for format()'s preg_replace call
templateFactory
returns a new template object from the given resource identifier, null if no include is possible (resource not found), or false if include is not permitted by this resource type
templateFactory
returns a new template string object with the resource id being the template source code
templateFactory
returns a new template object from the given include name, null if no include is possible (resource not found), or false if include is not permitted by this resource type
templateFactory
[util function] fetches a template object of the given resource
template_exists
TEMPLATE_PLUGIN
constants that represents all plugin types
triggerError
[util function] triggers a dwoo error
triggerError
trigger_error
u
top
$usedPlugins
stores a list of plugins that are used in the currently compiled template, and that are not compilable. these plugins will be loaded during the template's runtime if required.
upper.php
upper.php in upper.php
unassign
unassigns/removes a variable
unescape
unescapePhp
unregister_block
unregister_function
unregister_modifier
unregister_object
unregister_outputfilter
unregister_postfilter
unregister_prefilter
useTemplatePlugin
marks a template plugin as being called, which means its source must be included in the compiled template
v
top
VERSION
Dwoo::VERSION in Dwoo.php
current version number
w
top
$wrap
$wrapChar
$wrapCut
with.php
with.php in with.php
withelse.php
withelse.php in withelse.php
whitespace.php
whitespace.php in whitespace.php
wordwrap.php
wordwrap.php in wordwrap.php
a b c d e f g h i l m n o p r s t u v w _