Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

PHPOperatorList

Summary

This setting lists PHP functions and their equivalent template operator names.

Usage

PHPOperatorList[<PHP_function>]=<operator_name>

Description

This setting lists PHP functions and their equivalent template operator names. It is recommended to give operators a different name than the PHP functions, this ensures that all operators follow the same naming guidelines. An added bonus is that you can change the PHP function later on without being required to do template changes.Only one parameter is supported as value and the PHP function must return the result by value and not by reference.

This setting is case sensitive.

Examples

PHPOperatorList[urlencode]=urlencode

This is the default setting.

Geir Arne Waaler (18/10/2010 12:29 pm)

Geir Arne Waaler (18/10/2010 12:29 pm)


Comments

There are no comments.