|
eZ Publish
[trunk]
|
Represents a root element of the template tree. More...
Public Member Functions | |
| appendChild (&$node) | |
| & | children () |
| clear () | |
| eZTemplateRoot ($children=array()) | |
| name () | |
| process ($tpl, &$text, $nspace, $current_nspace) | |
| serializeData () | |
Public Attributes | |
| $Children = array() | |
| The child array. | |
Represents a root element of the template tree.
This starts the template tree and is the base of template includes.
It has a list of child elements and runs process() on each child.
Definition at line 25 of file eztemplateroot.php.
| eZTemplateRoot::appendChild | ( | &$ | node | ) |
Appends the child $node to the child array.
Definition at line 80 of file eztemplateroot.php.
| & eZTemplateRoot::children | ( | ) |
Returns a reference to the child array.
Definition at line 72 of file eztemplateroot.php.
Removes all children.
Definition at line 64 of file eztemplateroot.php.
| eZTemplateRoot::eZTemplateRoot | ( | $ | children = array() | ) |
Initializes the object.
Definition at line 30 of file eztemplateroot.php.
Returns #root as the name.
Definition at line 38 of file eztemplateroot.php.
| eZTemplateRoot::process | ( | $ | tpl, |
| &$ | text, | ||
| $ | nspace, | ||
| $ | current_nspace | ||
| ) |
Runs process() on all child elements.
Definition at line 53 of file eztemplateroot.php.
Definition at line 43 of file eztemplateroot.php.
| eZTemplateRoot::$Children = array() |
The child array.
Definition at line 86 of file eztemplateroot.php.