首页 >后端开发 >php教程 >[eZ publish] How to use standard PHP functions?

[eZ publish] How to use standard PHP functions?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-23 14:28:56952浏览

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.

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn