Class

eZTemplateArrayOperator

class eZTemplateArrayOperator

Properties

$Operators
$ArrayName
$HashName

Methods

__construct($arrayName = 'array', $hashName = 'hash', $arrayPrependName = 'array_prepend', $prependName = 'prepend', $arrayAppendName = 'array_append', $appendName = 'append', $arrayMergeName = 'array_merge', $mergeName = 'merge', $containsName = 'contains', $compareName = 'compare', $extractName = 'extract', $extractLeftName = 'extract_left', $extractRightName = 'extract_right', $beginsWithName = 'begins_with', $endsWithName = 'ends_with', $implodeName = 'implode', $explodeName = 'explode', $repeatName = 'repeat', $reverseName = 'reverse', $insertName = 'insert', $removeName = 'remove', $replaceName = 'replace', $uniqueName = 'unique', $arraySumName = 'array_sum')

operatorList()

operatorTemplateHints()

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

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

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

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

namedParameterPerOperator()

namedParameterList()

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

Details

at line 29
public __construct($arrayName = 'array', $hashName = 'hash', $arrayPrependName = 'array_prepend', $prependName = 'prepend', $arrayAppendName = 'array_append', $appendName = 'append', $arrayMergeName = 'array_merge', $mergeName = 'merge', $containsName = 'contains', $compareName = 'compare', $extractName = 'extract', $extractLeftName = 'extract_left', $extractRightName = 'extract_right', $beginsWithName = 'begins_with', $endsWithName = 'ends_with', $implodeName = 'implode', $explodeName = 'explode', $repeatName = 'repeat', $reverseName = 'reverse', $insertName = 'insert', $removeName = 'remove', $replaceName = 'replace', $uniqueName = 'unique', $arraySumName = 'array_sum')

Parameters

$arrayName
$hashName
$arrayPrependName
$prependName
$arrayAppendName
$appendName
$arrayMergeName
$mergeName
$containsName
$compareName
$extractName
$extractLeftName
$extractRightName
$beginsWithName
$endsWithName
$implodeName
$explodeName
$repeatName
$reverseName
$insertName
$removeName
$replaceName
$uniqueName
$arraySumName

at line 108
public operatorList()

at line 113
public operatorTemplateHints()

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

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

at line 1495
public namedParameterPerOperator()

at line 1502
public namedParameterList()

at line 1560
public modify($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, $operatorValue, $namedParameters, $placement)

Parameters

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