Helper class for template document creation
The supported syntax is of the form
<NAMESPACE:value key="DATA_KEY" [function="FUNCTION_NAME"]>[DEFAULT_VALUE]</NAMESPACE:value> <NAMESPACE:value key="DATA_KEY" [function="FUNCTION_NAME"]/> <NAMESPACE:object key="OBJECT_KEY"/> <NAMESPACE:array key="DATA_KEY">[DATA_BLOCK]</NAMESPACE:array> <NAMESPACE:until key="FUNCTION_NAME">[DATA_BLOCK]</NAMESPACE:until>
Located in /lib/mtemplate.inc.php (line 23)
Name of the cache file
Filepath of the folder where to store the files generated by the cache system
Validity of the cache file (in seconds)
Array of values
Default namespace used by the template
Template content
Constructor
Load the template from a file
Transform the loaded template, using the current array of data
Enable or disable the cache system
Documentation generated on Thu, 10 Dec 2009 15:21:31 +0100 by phpDocumentor 1.4.1