[eZ publish] How to use standard PHP functions?
程序员文章站
2024-01-14 09:28:16
...
In eZ Publish, we can call back the standard PHP function, which takesonly one parameter as input. It is sufficient to create an override ofthe template.ini setting file in the settings folder of our extension,call template.ini.append.php file, and then insert the following code:
[PHP]
PHPOperatorList[striptags]=strip_tags
*/ ?>
The PHPOperatorList array key is the operator name, whereas the value is the name
of the PHP function.