📚 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 / eZTemplatePHPOperator
|
Detailed DescriptionMakes it easy to add php functions as operators.This class makes it easy to add existing PHP functions as template operators. It maps a template operator to a PHP function, the function must take one parameter and return the result. The redirection is done by supplying an associative array to the class, each key is the operatorname and the value is the PHP function name. Example: $tpl->registerOperators( new eZTemplatePHPOperator( array( "upcase" => "strtoupper", "reverse" => "strrev" ) ) );
Definition at line eztemplatephpoperator.php. Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Exponential Copyright © 1998 - 2026 7x