Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

ezmoduleparamsoperator.php
Go to the documentation of this file.
1 <?php
11 /*
12 If you want to have autoloading of this operator you should create
13 a eztemplateautoload.php file and add the following code to it.
14 The autoload file must be placed somewhere specified in AutoloadPathList
15 under the group TemplateSettings in settings/site.ini
16
17 $eZTemplateOperatorArray = array();
18 $eZTemplateOperatorArray[] = array( 'class' => '$full_class_name',
19 'operator_names' => array( 'module_params' ) );
20
21 By using module_params you can ...
22
23 Example:
24 \code
25 {module_params|wash}
26 \endcode
27
28 */
29
30
31 class eZModuleParamsOperator
32 {
36 function operatorList()
37 {
38 return array( 'module_params' );
39 }
44 function namedParameterPerOperator()
45 {
46 return true;
47 }
51 function namedParameterList()
52 {
53 return array( 'module_params' => array() );
54 }
58 function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement )
59 {
60 switch ( $operatorName )
61 {
62 case 'module_params':
63 {
64 $operatorValue = $GLOBALS['eZRequestedModuleParams'];
65 } break;
66 }
67 }
68 }
69 ?>
eZModuleParamsOperator
Definition: ezmoduleparamsoperator.php:32
eZModuleParamsOperator\namedParameterPerOperator
namedParameterPerOperator()
Definition: ezmoduleparamsoperator.php:44
eZModuleParamsOperator\operatorList
operatorList()
Definition: ezmoduleparamsoperator.php:36
eZModuleParamsOperator\namedParameterList
namedParameterList()
Definition: ezmoduleparamsoperator.php:51
eZModuleParamsOperator\modify
modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement)
Definition: ezmoduleparamsoperator.php:58
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.