API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
patTemplate_Dump::_extractVars | ( | $ | template | ) |
extract all variables from a template
private
string | template content |
patTemplate_Dump::_flattenVars | ( | $ | vars | ) |
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.
private
array | variable definitions |
patTemplate_Dump::displayFooter | ( | ) |
patTemplate_Dump::displayHeader | ( | ) |
patTemplate_Dump::dumpGlobals | ( | $ | globals | ) |
dump the global variables
public
array | array containing all global variables |
Réimplémentée dans patTemplate_Dump_Html, et patTemplate_Dump_XUL.
patTemplate_Dump::dumpTemplates | ( | $ | templates, |
$ | vars | ||
) |
dump the templates
This method has to be implemented in the dumpers.
public
array | templates |
array | variables |
Réimplémentée dans patTemplate_Dump_Html, et patTemplate_Dump_XUL.
patTemplate_Dump::setTemplateReference | ( | &$ | tmpl | ) |
set a reference to the patTemplate object that instantiated the reader
public
object | patTemplate object |
patTemplate_Dump::$_tmpl |