patTemplate_Function_Globalvar
Description
patTemplate function that enables adding global variables from within a template.
Available attributes:
name > name of the variable default > default value of the variable hidden > whether to output the content of the variable: yes|no
$Id: Globalvar.php 8287 2007-08-01 08:38:59Z eddieajau $
Located in /pattemplate/patTemplate/Function/Globalvar.php (line 34)
patTemplate_Module
![]()
patTemplate_Function
![]()
patTemplate_Function_Globalvar (Subpackage Functions)
Variable Summary
Method Summary
Variables
object
$_tmpl
(line 49)
reference to the patTemplate object that instantiated the module
Inherited Variables
Inherited from patTemplate_Function
patTemplate_Function::$type
Inherited from patTemplate_Module
patTemplate_Module::$_params
Methods
call the function
string
call
(array $params, string $content)
- array $params: parameters of the function (= attributes of the tag)
- string $content: content of the tag
Redefinition of:
- patTemplate_Function::call()
- call the function
set a reference to the patTemplate object that instantiated the reader
- object patTemplate &$tmpl: object
Inherited Methods
Inherited From patTemplate_Function
patTemplate_Function::call()
patTemplate_Function::setReader()
Inherited From patTemplate_Module
patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()
Documentation generated on Tue, 29 Jan 2008 18:47:10 +0000 by phpDocumentor 1.3.1




patTemplate_Function_Globalvar (Subpackage Functions)