eZTemplateControlOperator Class Reference
[Template operators]

Operators for checking variable type. More...

List of all members.


Public Methods

 eZTemplateControlOperator ($condName= 'cond',$firstSetName= 'first_set')
operatorList ()
 namedParameterPerOperator ()
 namedParameterList ()
 modify (&$tpl,&$operatorName,&$operatorParameters,&$rootNamespace,&$currentNamespace,&$value,&$namedParameters)

Public Attributes

 Operators
 The array of operators.


Detailed Description

Operators for checking variable type.

Usage: Evalue condition and if true return body cond(is_set($var),$var, true(),2) Return first element that is set first_set($var1,$var2,$var3,0)

Definition at line eztemplatecontroloperator.php.


Constructor & Destructor Documentation

eZTemplateControlOperator::eZTemplateControlOperator   condName = 'cond',
  firstSetName = 'first_set'
 

Initializes the operator class with the various operator names.

Parameters:
condName  The name array

Definition at line eztemplatecontroloperator.php.

References Operators.


Member Function Documentation

eZTemplateControlOperator::modify &$    tpl,
&$    operatorName,
&$    operatorParameters,
&$    rootNamespace,
&$    currentNamespace,
&$    value,
&$    namedParameters
 

Examines the input value and outputs a boolean value. See class documentation for more information.

Definition at line eztemplatecontroloperator.php.

eZTemplateControlOperator::namedParameterList  
 

See eZTemplateOperator::namedParameterList

Definition at line eztemplatecontroloperator.php.

eZTemplateControlOperator::namedParameterPerOperator  
 

Returns:
true to tell the template engine that the parameter list exists per operator type.

Definition at line eztemplatecontroloperator.php.

& eZTemplateControlOperator::operatorList  
 

Returns the operators in this class.

Definition at line eztemplatecontroloperator.php.

References Operators.


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

Exponential