eZ Publish  [trunk]
eZTemplateOperatorElement Class Reference

Represents an operator element in the template tree. More...

List of all members.

Public Member Functions

 eZTemplateOperatorElement ($name, $params, $resource=null, $templateName=null)
name ()
parameters ()
 process ($tpl, &$value, $nspace, $current_nspace)
 resourceRelation ()
 serializeData ()
 setResourceRelation ($resource)
 setTemplateNameRelation ($templateName)
 templateNameRelation ()

Public Attributes

 $Name
 The operator name.
 $Params
 The paramer array.
 $Resource
 $TemplateName

Detailed Description

Represents an operator element in the template tree.

This class represents an operator with it's parameters.

Definition at line 23 of file eztemplateoperatorelement.php.


Member Function Documentation

eZTemplateOperatorElement::eZTemplateOperatorElement ( name,
params,
resource = null,
templateName = null 
)

Initializes the operator with a name and parameters.

Definition at line 28 of file eztemplateoperatorelement.php.

Returns a reference to the name.

Definition at line 59 of file eztemplateoperatorelement.php.

Returns a reference to the parameter array.

Definition at line 114 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::process ( tpl,
&$  value,
nspace,
current_nspace 
)

Process the operator and sets $value.

Definition at line 78 of file eztemplateoperatorelement.php.


Member Data Documentation

eZTemplateOperatorElement::$Name

The operator name.

Definition at line 120 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$Params

The paramer array.

Definition at line 122 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$Resource

Definition at line 123 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$TemplateName

Definition at line 124 of file eztemplateoperatorelement.php.


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