📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  class / eZTemplateArithmeticOperator  

eZTemplateArithmeticOperator Class Reference

The class eZTemplateArithmeticOperator does. More...

List of all members.


Public Methods

 eZTemplateArithmeticOperator ($sumName= 'sum',$subName= 'sub',$incName= 'inc',$decName= 'dec',$divName= 'div',$modName= 'mod',$mulName= 'mul',$maxName= 'max',$minName= 'min',$absName= 'abs',$ceilName= 'ceil',$floorName= 'floor',$roundName= 'round',$intName= 'int',$floatName= 'float',$countName= 'count')
& operatorList ()
 namedParameterPerOperator ()
 namedParameterList ()
 modify (&$tpl,&$operatorName,&$operatorParameters,&$rootNamespace,&$currentNamespace,&$operatorValue,&$namedParameters)

Public Attributes

 Operators
 \privatesection


Detailed Description

The class eZTemplateArithmeticOperator does.

sum sub inc dec

div mod mul

max min

abs ceil floor round

int float

count

Definition at line eztemplatearithmeticoperator.php.


Constructor & Destructor Documentation

eZTemplateArithmeticOperator::eZTemplateArithmeticOperator (  $    sumName = 'sum',
$    subName = 'sub',
$    incName = 'inc',
$    decName = 'dec',
$    divName = 'div',
$    modName = 'mod',
$    mulName = 'mul',
$    maxName = 'max',
$    minName = 'min',
$    absName = 'abs',
$    ceilName = 'ceil',
$    floorName = 'floor',
$    roundName = 'round',
$    intName = 'int',
$    floatName = 'float',
$    countName = 'count'
) 
 

Constructor

Definition at line eztemplatearithmeticoperator.php.

References Operators.


Member Function Documentation

eZTemplateArithmeticOperator::modify (  &$    tpl,
&$    operatorName,
&$    operatorParameters,
&$    rootNamespace,
&$    currentNamespace,
&$    operatorValue,
&$    namedParameters
) 
 

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

Definition at line eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::namedParameterList (    ) 
 

See eZTemplateOperator::namedParameterList

Definition at line eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::namedParameterPerOperator (    ) 
 

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

Definition at line eztemplatearithmeticoperator.php.

& eZTemplateArithmeticOperator::operatorList (    ) 
 

Returns the operators in this class.

Definition at line eztemplatearithmeticoperator.php.

References Operators.


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

Exponential Copyright © 1998 - 2026 7x