eZTemplateRoot Class Reference
[Template elements]

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

List of all members.


Public Methods

 eZTemplateRoot ($children=array())
 name ()
 process (&$tpl,&$text,$nspace,$current_nspace)
 clear ()
children ()
 appendChild (&$node)

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 eztemplateroot.php.


Constructor & Destructor Documentation

eZTemplateRoot::eZTemplateRoot   children = array()
 

Initializes the object.

Definition at line eztemplateroot.php.

References children().


Member Function Documentation

eZTemplateRoot::appendChild &$    node
 

Appends the child $node to the child array.

Definition at line eztemplateroot.php.

References Children.

& eZTemplateRoot::children  
 

Returns a reference to the child array.

Definition at line eztemplateroot.php.

References Children.

Referenced by eZTemplateRoot().

eZTemplateRoot::clear  
 

Removes all children.

Definition at line eztemplateroot.php.

References Children.

eZTemplateRoot::name  
 

Returns root as the name.

Definition at line eztemplateroot.php.

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

Runs process() on all child elements.

Definition at line eztemplateroot.php.

References Children.


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

Exponential