| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
Base class for patTemplate dumpers $Id: Dump.php 10381 2008-06-01 03:35:53Z pasamio $
| Author: | Stephan Schmidt <schst@php.net> |
| File Size: | 160 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
patTemplate_Dump:: (7 methods):
setTemplateReference()
displayHeader()
dumpGlobals()
dumpTemplates()
displayFooter()
_flattenVars()
_extractVars()
Class: patTemplate_Dump - X-Ref
Base class for patTemplate dumpers| setTemplateReference( &$tmpl ) X-Ref |
| set a reference to the patTemplate object that instantiated the reader param: object patTemplate object |
| displayHeader() X-Ref |
| display the header |
| dumpGlobals( $globals ) X-Ref |
| dump the global variables param: array array containing all global variables |
| dumpTemplates( $templates, $vars ) X-Ref |
| dump the templates This method has to be implemented in the dumpers. param: array templates param: array variables |
| displayFooter() X-Ref |
| display the footer |
| _flattenVars( $vars ) X-Ref |
| flatten the variables This will convert the variable definitions to a one-dimensional array. If there are rows defined, they will be converted to a string where the values are seperated with commas. param: array variable definitions return: array flattened variables |
| _extractVars( $template ) X-Ref |
| extract all variables from a template param: string template content return: array array containing all variables |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |