eZ Publish  [4.2]
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 45 of file eztemplateroot.php.


Member Function Documentation

eZTemplateRoot::appendChild ( &$  node)

Appends the child $node to the child array.

Definition at line 100 of file eztemplateroot.php.

& eZTemplateRoot::children ( )

Returns a reference to the child array.

Definition at line 92 of file eztemplateroot.php.

eZTemplateRoot::clear ( )

Removes all children.

Definition at line 84 of file eztemplateroot.php.

eZTemplateRoot::eZTemplateRoot ( children = array())

Initializes the object.

Definition at line 50 of file eztemplateroot.php.

eZTemplateRoot::name ( )

Returns #root as the name.

Definition at line 58 of file eztemplateroot.php.

eZTemplateRoot::process ( tpl,
&$  text,
nspace,
current_nspace 
)

Runs process() on all child elements.

Definition at line 73 of file eztemplateroot.php.

eZTemplateRoot::serializeData ( )

Definition at line 63 of file eztemplateroot.php.


Member Data Documentation

eZTemplateRoot::$Children = array()

The child array.

Definition at line 106 of file eztemplateroot.php.


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