欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

[eZ publish] How to use standard PHP functions?

程序员文章站 2022-05-31 17:26:15
...
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.