|
eZ Publish
[trunk]
|
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 25 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::appendChild | ( | &$ | node | ) |
Appends the child element $node to the child list.
Definition at line 105 of file eztemplatefunctionelement.php.
Returns a reference to the children.
Definition at line 97 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::eZTemplateFunctionElement | ( | $ | name, |
| $ | params, | ||
| $ | children = array() |
||
| ) |
Initializes the function with a name and parameter array.
Definition at line 30 of file eztemplatefunctionelement.php.
Returns the name of the function.
Definition at line 60 of file eztemplatefunctionelement.php.
Returns a reference to the parameter list.
Definition at line 89 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 78 of file eztemplatefunctionelement.php.
Definition at line 47 of file eztemplatefunctionelement.php.
Definition at line 65 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::setResourceRelation | ( | $ | resource | ) |
Definition at line 37 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::setTemplateNameRelation | ( | $ | templateName | ) |
Definition at line 42 of file eztemplatefunctionelement.php.
Definition at line 52 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Children = array() |
The child elements.
Definition at line 115 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Name |
The name of the function.
Definition at line 111 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Params |
The parameter list.
Definition at line 113 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$Resource |
Definition at line 117 of file eztemplatefunctionelement.php.
| eZTemplateFunctionElement::$TemplateName |
Definition at line 118 of file eztemplatefunctionelement.php.