eZPublish  4.5
eZTemplateFunctionElement Class Reference

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

Public Member Functions

 appendChild (&$node)
children ()
 eZTemplateFunctionElement ($name, $params, $children=array())
 name ()
parameters ()
 process ($tpl, &$text, $nspace, $current_nspace)
 resourceRelation ()
 serializeData ()
 setResourceRelation ($resource)
 setTemplateNameRelation ($templateName)
 templateNameRelation ()

Public Attributes

 $Children = array()
 The child elements. More...
 The name of the function. More...
 The parameter list. More...

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.

Member Function Documentation

eZTemplateFunctionElement::appendChild ( $node)

Appends the child element $node to the child list.

& eZTemplateFunctionElement::children ( )

Returns a reference to the children.

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

Initializes the function with a name and parameter array.

eZTemplateFunctionElement::name ( )

Returns the name of the function.

& eZTemplateFunctionElement::parameters ( )

Returns a reference to the parameter list.

eZTemplateFunctionElement::process (   $tpl,

Tries to run the function with the children, the actual function execution is done by the template class.

eZTemplateFunctionElement::resourceRelation ( )
eZTemplateFunctionElement::serializeData ( )
eZTemplateFunctionElement::setResourceRelation (   $resource)
eZTemplateFunctionElement::setTemplateNameRelation (   $templateName)
eZTemplateFunctionElement::templateNameRelation ( )

Member Data Documentation

eZTemplateFunctionElement::$Children = array()

The child elements.

Referenced by children().


The name of the function.

Referenced by name().


The parameter list.

Referenced by parameters().


Referenced by resourceRelation().


Referenced by templateNameRelation().

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