Table of contents:
eZ publish has the ability built-in to eZ publish to support the use of php functions directly in template code as template operators with a configuration settings addition of the php function name.
Only supports functions which accept only a single parameter.
You can use more features of php without limitations by using the wrap_operator extension instead.
A brief list of know functions which accept only a single parameter.
The following list has to be ordered alphabetically. Keep this in mind when adding items to it.
Example, 'settings/override/template.ini.append.php'
[PHP] # A list with php functions and their equivelant template operator names # Giving the operators a different name from the PHP functions # are recommended, that way you ensure that all operators follow # the same naming guidelines. It also means that you can change the # php function later on without doing template changes. PHPOperatorList[] PHPOperatorList[urlencode]=urlencode
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish Community Project 4.2011
Hosted by Swiss eZ Publish partner YMC