Class

eZTemplateTypeOperator

class eZTemplateTypeOperator

Properties

$Operators
$IsArrayName

Methods

__construct(string $isArrayName = 'is_array', string $isBooleanName = 'is_boolean', string $isIntegerName = 'is_integer', string $isFloatName = 'is_float', string $isNumericName = 'is_numeric', string $isStringName = 'is_string', string $isObjectName = 'is_object', string $isClassName = 'is_class', string $isNullName = 'is_null', string $isSetName = 'is_set', string $isUnsetName = 'is_unset', string $getTypeName = 'get_type', string $getClassName = 'get_class')

Initializes the operator class with the various operator names.

operatorList()

operatorTemplateHints()

isTransform($operatorName, $node, $tpl, $resourceData, $element, $lastElement, $elementList, $elementTree, $parameters)

namedParameterPerOperator()

namedParameterList()

modify($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, $value, $namedParameters, $placement)

checkType($typeFunction, $tpl, $value, $operatorParameters, $rootNamespace, $currentNamespace, $placement)

Details

at line 53
public __construct(string $isArrayName = 'is_array', string $isBooleanName = 'is_boolean', string $isIntegerName = 'is_integer', string $isFloatName = 'is_float', string $isNumericName = 'is_numeric', string $isStringName = 'is_string', string $isObjectName = 'is_object', string $isClassName = 'is_class', string $isNullName = 'is_null', string $isSetName = 'is_set', string $isUnsetName = 'is_unset', string $getTypeName = 'get_type', string $getClassName = 'get_class')

Initializes the operator class with the various operator names.

Parameters

string $isArrayName
string $isBooleanName
string $isIntegerName
string $isFloatName
string $isNumericName
string $isStringName
string $isObjectName
string $isClassName
string $isNullName
string $isSetName
string $isUnsetName
string $getTypeName
string $getClassName

at line 107
public operatorList()

at line 112
public operatorTemplateHints()

at line 207
public isTransform($operatorName, $node, $tpl, $resourceData, $element, $lastElement, $elementList, $elementTree, $parameters)

Parameters

$operatorName
$node
$tpl
$resourceData
$element
$lastElement
$elementList
$elementTree
$parameters

at line 289
public namedParameterPerOperator()

at line 297
public namedParameterList()

at line 305
public modify($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, $value, $namedParameters, $placement)

Parameters

$tpl
$operatorName
$operatorParameters
$rootNamespace
$currentNamespace
$value
$namedParameters
$placement

at line 404
public checkType($typeFunction, $tpl, $value, $operatorParameters, $rootNamespace, $currentNamespace, $placement)

Parameters

$typeFunction
$tpl
$value
$operatorParameters
$rootNamespace
$currentNamespace
$placement