eZ Publish  [4.2]
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 43 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 48 of file eztemplateoperatorelement.php.

& eZTemplateOperatorElement::name ( )

Returns a reference to the name.

Definition at line 79 of file eztemplateoperatorelement.php.

& eZTemplateOperatorElement::parameters ( )

Returns a reference to the parameter array.

Definition at line 134 of file eztemplateoperatorelement.php.

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

Process the operator and sets $value.

Definition at line 98 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::resourceRelation ( )

Definition at line 66 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::serializeData ( )

Definition at line 84 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::setResourceRelation ( resource)

Definition at line 56 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::setTemplateNameRelation ( templateName)

Definition at line 61 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::templateNameRelation ( )

Definition at line 71 of file eztemplateoperatorelement.php.


Member Data Documentation

eZTemplateOperatorElement::$Name

The operator name.

Definition at line 140 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$Params

The paramer array.

Definition at line 142 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$Resource

Definition at line 143 of file eztemplateoperatorelement.php.

eZTemplateOperatorElement::$TemplateName

Definition at line 144 of file eztemplateoperatorelement.php.


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