-
$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
-
$assign
-
-
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
-
adds a filter to this Dwoo instance, it will be used to filter the output of all the templates rendered by this instance
-
addPlugin
-
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
-
[runtime function] adds a block to the block stack
-
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
-
[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
-
-
assign.php
-
-
$cache
-
caches the results of the file checks to save some time when the same templates is rendered several times
-
$cacheDir
-
directory where the cached templates are stored
-
$cacheId
-
template cache id, if not provided in the constructor, it is set to the md5 hash of the request_uri. it is however highly recommended to provide one that will fit your needs.
-
$cacheTime
-
validity duration of the generated cache file (in seconds)
-
$cacheTime
-
defines how long (in seconds) the cached files must remain valid
-
$cache_dir
-
-
$cache_lifetime
-
-
$caching
-
-
$callback
-
-
$callback
-
-
$charset
-
character set of the template, used by string manipulation plugins
-
$childSource
-
-
$classpath
-
stores the plugins names/paths relationships don't edit this on your own, use addDirectory
-
$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
-
directory where the compiled templates are stored
-
$compileId
-
template compilation id
-
$compiler
-
-
$compiler
-
the compiler instance that runs this processor
-
$compiler
-
holds the compiler that built this template
-
$compiler_class
-
-
$compiler_file
-
-
$compile_check
-
-
$compile_dir
-
-
$compile_id
-
-
$config_dir
-
-
$constHandling
-
stores the constant handling level
-
$counters
-
-
$curBlock
-
stores the current block plugin at the top of the stack during template runtime
-
$curBlock
-
current block at the top of the block plugins stack, accessible through getCurrentBlock
-
$customPlugins
-
stores the custom plugins registered with this compiler
-
$cycles
-
-
cache
-
caches the provided output into the cache file
-
cache
-
caches the provided output into the cache file
-
classCall
-
[runtime function] calls the process() method of the given class-plugin name
-
CLASS_PLUGIN
-
constants that represents all plugin types
-
clear
-
clears a the entire data or only the given key
-
clearCache
-
clears the cached template if it's older than the given time
-
clearCache
-
[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
-
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
-
-
compile
-
compiles the provided string down to php code
-
compile
-
compiles the provided string down to php code
-
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
-
-
capture.php
-
-
capitalize.php
-
-
cat.php
-
-
counter.php
-
-
count_characters.php
-
-
count_paragraphs.php
-
-
count_sentences.php
-
-
count_words.php
-
-
cycle.php
-
-
$data
-
stores the data within which the scope moves
-
$data
-
stores the data during template runtime
-
$data
-
data array
-
$dataProvider
-
-
$debug
-
boolean flag to enable or disable debugging output
-
$dwoo
-
the dwoo instance that runs this filter
-
$dwoo
-
the dwoo instance that runs this plugin
-
delStack
-
[runtime function] removes the plugin at the top of the block stack
-
DIR_SEP
-
-
disallowDirectory
-
removes a directory from the safelist
-
disallowPhpFunction
-
removes a php function from the allowed list
-
display
-
-
Dwoo
-
main dwoo class, allows communication between the compiler, template and data classes
-
Data.php
-
-
Dwoo.php
-
-
Dwoo_Block_Plugin
-
base class for block plugins
-
DWOO_CACHE_DIRECTORY
-
-
DWOO_CHMOD
-
-
Dwoo_Compilation_Exception
-
dwoo compilation exception class
-
Dwoo_Compiler
-
default dwoo compiler class, compiles dwoo templates into php
-
DWOO_COMPILE_DIRECTORY
-
-
Dwoo_Data
-
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_Exception
-
main dwoo exception class
-
Dwoo_Filter
-
base class for filters
-
Dwoo_Filter_html_format
-
TOCOM
-
Dwoo_ICompilable
-
interface that represents a compilable plugin
-
Dwoo_ICompilable_Block
-
interface that represents a compilable block plugin
-
Dwoo_ICompiler
-
interface that represents a dwoo compiler
-
Dwoo_IDataProvider
-
interface that represents a dwoo data object
-
Dwoo_ITemplate
-
interface that represents a dwoo template
-
Dwoo_Loader
-
handles plugin loading and caching of plugins names/paths relationships
-
Dwoo_Plugin
-
base plugin class
-
Dwoo_Plugin_array_compile
-
-
Dwoo_Plugin_assign_compile
-
-
Dwoo_Plugin_block
-
TOCOM
-
Dwoo_Plugin_capitalize
-
-
Dwoo_Plugin_capture
-
TOCOM
-
Dwoo_Plugin_cat_compile
-
-
Dwoo_Plugin_counter
-
TOCOM
-
Dwoo_Plugin_count_characters_compile
-
-
Dwoo_Plugin_count_paragraphs_compile
-
-
Dwoo_Plugin_count_sentences_compile
-
-
Dwoo_Plugin_count_words_compile
-
-
Dwoo_Plugin_cycle
-
TOCOM
-
Dwoo_Plugin_date_format
-
-
Dwoo_Plugin_default_compile
-
-
Dwoo_Plugin_dump
-
TOCOM
-
Dwoo_Plugin_else
-
TOCOM
-
Dwoo_Plugin_elseif
-
TOCOM
-
Dwoo_Plugin_eol_compile
-
-
Dwoo_Plugin_escape
-
-
Dwoo_Plugin_eval
-
-
Dwoo_Plugin_extends
-
TOCOM
-
Dwoo_Plugin_extendsCheck_compile
-
-
Dwoo_Plugin_fetch
-
-
Dwoo_Plugin_for
-
TOCOM
-
Dwoo_Plugin_foreach
-
TOCOM
-
Dwoo_Plugin_foreachelse
-
TOCOM
-
Dwoo_Plugin_forelse
-
TOCOM
-
Dwoo_Plugin_if
-
TOCOM
-
Dwoo_Plugin_include
-
-
Dwoo_Plugin_indent_compile
-
-
Dwoo_Plugin_isset_compile
-
-
Dwoo_Plugin_loop
-
TOCOM
-
Dwoo_Plugin_lower_compile
-
-
Dwoo_Plugin_mailto
-
-
Dwoo_Plugin_math_compile
-
-
Dwoo_Plugin_nl2br_compile
-
-
Dwoo_Plugin_regex_replace
-
-
Dwoo_Plugin_replace_compile
-
-
Dwoo_Plugin_reverse
-
-
Dwoo_Plugin_smartyinterface
-
TOCOM
-
Dwoo_Plugin_spacify_compile
-
-
Dwoo_Plugin_string_format_compile
-
-
Dwoo_Plugin_strip_compile
-
-
Dwoo_Plugin_strip_tags_compile
-
-
Dwoo_Plugin_textformat
-
TOCOM
-
Dwoo_Plugin_topLevelBlock
-
TOCOM
-
Dwoo_Plugin_truncate
-
-
Dwoo_Plugin_upper_compile
-
-
Dwoo_Plugin_with
-
TOCOM
-
Dwoo_Plugin_withelse
-
TOCOM
-
Dwoo_Plugin_wordwrap_compile
-
-
Dwoo_Processor
-
base class for processors
-
Dwoo_Processor_smarty_compat
-
TOCOM
-
Dwoo_Security_Exception
-
dwoo security exception class
-
Dwoo_Security_Policy
-
represents the security settings of a dwoo instance, it can be passed around to different dwoo instances
-
Dwoo_Smarty_Adapter
-
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
-
a Smarty compatibility layer for Dwoo
-
Dwoo_Template_File
-
represents a Dwoo template contained in a file
-
Dwoo_Template_String
-
represents a Dwoo template contained in a string
-
date_format.php
-
-
default.php
-
-
dump.php
-
-
$globals
-
global variables that are accessible through $dwoo.* in the templates
-
get
-
returns the given template rendered using the provided data and optional compiler
-
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
-
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 default cache time that is used with templates that do not have a cache time set
-
getCacheTime
-
returns the cache duration for this template
-
getCacheTime
-
returns the cache duration for this template
-
getCharset
-
returns the character set used by the string manipulation plugins
-
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
-
getCompiledTemplate
-
returns the compiled template file name
-
getCompiler
-
returns the compiler used by this template, if it was just compiled, or null
-
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
-
returns the data as an associative array that will be used in the template
-
getData
-
returns the data array
-
getData
-
[runtime function] returns the entire data array
-
getDefaultCompilerFactory
-
returns the default compiler factory function for the given resource name
-
getDelimiters
-
returns the left and right template delimiters
-
getDwoo
-
returns the dwoo object that initiated this template compilation, only available during compilation of a template
-
getLooseOpeningHandling
-
returns the tag openings handling strictness setting
-
getName
-
returns the template name
-
getName
-
returns the template name
-
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
-
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 or false if it has no identifier
-
getResourceIdentifier
-
returns the resource identifier for this template, false here as strings don't have identifiers
-
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
-
[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
-
returns the current template being rendered, when applicable, or null
-
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 unix timestamp of the last modification
-
getUid
-
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
-
getUid
-
returns an unique value identifying the current version of this template, in this case it's the md4 hash of the content
-
get_registered_object
-
-
get_template_vars
-
-
$paths
-
stores the plugin directories
-
$phpHandling
-
stores the php handling level
-
$php_handling
-
-
$plugins
-
stores the custom plugins callbacks
-
$plugins_dir
-
-
$pointer
-
stores the current pointer position inside the template
-
$processors
-
stores the pre- and post-processors callbacks
-
Plugin.php
-
-
Plugin.php
-
-
Processor.php
-
-
Policy.php
-
-
parse
-
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
-
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
-
constant that represents a php closing tag
-
PHP_ENCODE
-
php handling constants, defaults to PHP_REMOVE
-
PHP_OPEN
-
constant that represents a php opening tag
-
PHP_REMOVE
-
php handling constants, defaults to PHP_REMOVE
-
pre.smarty_compat.php
-
-
postProcessing
-
-
postProcessing
-
-
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
-
-
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
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
preProcessing
-
-
process
-
-
process
-
-
process
-
-
process
-
-
process
-
processes the input and returns it filtered
-
process
-
-
process
-
formats the input using the singleTag/closeTag/openTag functions
-
process
-
-
process
-
called when the block output is required by a parent block
-
process
-
processes the input and returns it filtered
-
process
-
-
$scope
-
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)
-
$scope
-
stores the current scope during template runtime
-
$scopeTree
-
variable scope tree, that allows to rebuild the current scope if required, i.e. when going to a parent level
-
$scopeTree
-
stores the scope tree during template runtime
-
$secure_dir
-
-
$security
-
-
$securityPolicy
-
security policy object
-
$securityPolicy
-
security policy object
-
$security_settings
-
-
$show_compat_errors
-
-
$stack
-
block plugins stack, accessible through some methods
-
$stack
-
stores the block plugins stack during template runtime
-
String.php
-
-
smartyinterface.php
-
-
spacify.php
-
-
string_format.php
-
-
strip.php
-
-
strip_tags.php
-
-
setCacheDir
-
sets the cache directory and automatically appends a DIRECTORY_SEPARATOR
-
setCacheTime
-
sets the default cache time to use with templates that do not have a cache time set
-
setCacheTime
-
sets the cache duration for this template
-
setCacheTime
-
sets the cache duration for this template
-
setCharset
-
sets the character set used by the string manipulation plugins
-
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
-
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.
-
setPhpHandling
-
sets the php handling level, defaults to REMOVE
-
setPointer
-
sets the pointer position
-
setScope
-
sets the scope
-
setScope
-
[runtime function] sets the scope to the given scope string
-
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
-
setTemplateSource
-
overwrites the template that is being compiled
-
singleTag
-
returns a single tag with auto indenting
-
Smarty
-
-
SMARTY_BLOCK
-
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_PASSTHRU
-
-
SMARTY_PHP_QUOTE
-
-
SMARTY_PHP_REMOVE
-
-
stripPreprocessorHelper
-
handles the {strip} blocks regex replacement, do not rely on it as it will eventually be moved into it's own plugin