lib/eztemplate/classes/eztemplatesetfunction.php
File containing the eZTemplateSetFunction class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZTemplateSetFunction
Package: lib
File containing the eZTemplateSetFunction class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants
Properties
Methods


cleanupVariables(
$tpl, $rootNamespace, $currentNamespace, $setData
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tpl | ||
$rootNamespace | ||
$currentNamespace | ||
$setData |


createDefaultVariables(
$tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tpl | ||
$functionParameters | ||
$functionPlacement | ||
$name | ||
$rootNamespace | ||
$currentNamespace |


defineVariables(
$tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tpl | ||
$functionParameters | ||
$functionPlacement | ||
$name | ||
$rootNamespace | ||
$currentNamespace |


eZTemplateSetFunction(
$setName
=
'set', $letName
=
'let', $defaultName
=
'default'
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$setName | ||
$letName | ||
$defaultName |


process(
$tpl, $textElements, $functionName, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tpl | ||
$textElements | ||
$functionName | ||
$functionChildren | ||
$functionParameters | ||
$functionPlacement | ||
$rootNamespace | ||
$currentNamespace |


templateHookProcess(
$functionName, $functionHookName, $functionHook, $tpl, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$functionName | ||
$functionHookName | ||
$functionHook | ||
$tpl | ||
$functionParameters | ||
$functionPlacement | ||
$rootNamespace | ||
$currentNamespace |