首頁 >後端開發 >php教程 >[eZ publish] How to use standard PHP functions?

[eZ publish] How to use standard PHP functions?

WBOY
WBOY原創
2016-06-23 14:28:56907瀏覽

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