eZ Publish  [trunk]
eZTemplateRoot Class Reference

Represents a root element of the template tree. More...

List of all members.

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.

Detailed Description

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.


Member Function Documentation

Appends the child $node to the child array.

Definition at line 80 of file eztemplateroot.php.

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.


Member Data Documentation

eZTemplateRoot::$Children = array()

The child array.

Definition at line 86 of file eztemplateroot.php.


The documentation for this class was generated from the following file: