[ Index ] |
PHP Cross Reference of Eventum |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 225 lines (9 kb) |
Included or required: | 93 times |
Referenced: | 0 times |
Includes or requires: | 6 files include/class.auth.php include/class.project.php include/class.link_filter.php include/class.user.php include/class.setup.php include/class.custom_field.php |
Template_API:: (7 methods):
Template_API()
setTemplate()
assign()
bulkAssign()
displayTemplate()
getTemplateContents()
processTemplate()
Class: Template_API - X-Ref
Class used to abstract the backend template system used by the site. ThisTemplate_API() X-Ref |
Constructor of the class |
setTemplate($tpl_name) X-Ref |
Sets the internal template filename for the current PHP script param: string $tpl_name The filename of the template |
assign($var_name, $value = "") X-Ref |
Assigns variables to specific placeholders on the target template param: string $var_name Placeholder on the template param: string $value Value to be assigned to this placeholder |
bulkAssign($array) X-Ref |
Assigns variables to specific placeholders on the target template param: array $array Array with the PLACEHOLDER=>VALUE pairs to be assigned |
displayTemplate() X-Ref |
Prints the actual parsed template. |
getTemplateContents() X-Ref |
Returns the contents of the parsed template return: string The contents of the parsed template |
processTemplate() X-Ref |
Processes the template and assigns common variables automatically. |
Generated: Wed Dec 19 21:21:33 2007 | Cross-referenced by PHPXref 0.7 |