Home >Backend Development >PHP Tutorial > joomla中怎么自定义函数

joomla中怎么自定义函数

WBOY
WBOYOriginal
2016-06-13 12:55:21916browse

joomla中如何自定义函数?
我在joomla中做了几个模块,这几个模块中都有调用一个自定义的函数。我想把它做成全局函数,应该把函数写在哪个文件中?


------解决方案--------------------
写入一个文件,然后include。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn