eZTemplateFunctionElement Class Reference
[Template elements]

Represents a function element in the template tree. More...

List of all members.


Public Methods

 eZTemplateFunctionElement ($name,$params,$children=array())
 name ()
 process (&$tpl,&$text,$nspace,$current_nspace)
parameters ()
children ()
 appendChild (&$node)

Public Attributes

 Name
 The name of the function.

 Params
 The parameter list.

 Children = array()
 The child elements.


Detailed Description

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


Constructor & Destructor Documentation

eZTemplateFunctionElement::eZTemplateFunctionElement   name,
  params,
  children = array()
 

Initializes the function with a name and parameter array.

Definition at line eztemplatefunctionelement.php.

References Params.


Member Function Documentation

eZTemplateFunctionElement::appendChild &$    node
 

Appends the child element $node to the child list.

Definition at line eztemplatefunctionelement.php.

References Children.

& eZTemplateFunctionElement::children  
 

Returns a reference to the children.

Definition at line eztemplatefunctionelement.php.

References Children.

Referenced by eZTemplateFunctionElement().

eZTemplateFunctionElement::name  
 

Returns the name of the function.

Definition at line eztemplatefunctionelement.php.

References Name.

Referenced by eZTemplateFunctionElement().

& eZTemplateFunctionElement::parameters  
 

Returns a reference to the parameter list.

Definition at line eztemplatefunctionelement.php.

References Params.

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


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

Exponential