|
eZ Publish
[4.2]
|
Represents a function element in the template tree. More...
Public Member Functions | |
| appendChild (&$node) | |
| & | children () |
| eZTemplateFunctionElement ($name, $params, $children=array()) | |
| name () | |
| & | parameters () |
| process ($tpl, &$text, $nspace, $current_nspace) | |
| resourceRelation () | |
| serializeData () | |
| setResourceRelation ($resource) | |
| setTemplateNameRelation ($templateName) | |
| templateNameRelation () | |
Public Attributes | |
| $Children = array() | |
| The child elements. | |
| $Name | |
| The name of the function. | |
| $Params | |
| The parameter list. | |
| $Resource | |
| $TemplateName | |
Represents a function element in the template tree.
This class represents a function with it's parameters. It also contains child elements if the function was registered as having children.
Definition at line 45 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::appendChild | ( | &$ | node | ) |
Appends the child element $node to the child list.
Definition at line 125 of file eztemplatefunctionelement.php.
| & eZTemplateFunctionElement::children | ( | ) |
Returns a reference to the children.
Definition at line 117 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::eZTemplateFunctionElement | ( | $ | name, |
| $ | params, | ||
| $ | children = array() |
||
| ) |
Initializes the function with a name and parameter array.
Definition at line 50 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::name | ( | ) |
Returns the name of the function.
Definition at line 80 of file eztemplatefunctionelement.php.
| & eZTemplateFunctionElement::parameters | ( | ) |
Returns a reference to the parameter list.
Definition at line 109 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::process | ( | $ | tpl, |
| &$ | text, | ||
| $ | nspace, | ||
| $ | current_nspace | ||
| ) |
Tries to run the function with the children, the actual function execution is done by the template class.
Definition at line 98 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::resourceRelation | ( | ) |
Definition at line 67 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::serializeData | ( | ) |
Definition at line 85 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::setResourceRelation | ( | $ | resource | ) |
Definition at line 57 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::setTemplateNameRelation | ( | $ | templateName | ) |
Definition at line 62 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::templateNameRelation | ( | ) |
Definition at line 72 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Children = array() |
The child elements.
Definition at line 135 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Name |
The name of the function.
Definition at line 131 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Params |
The parameter list.
Definition at line 133 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Resource |
Definition at line 137 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$TemplateName |
Definition at line 138 of file eztemplatefunctionelement.php.