void unregister_function (string name)
void unregister_function
Use this to dynamically unregister template function plugin. Pass in the template function name.
动态注销一个模板函数插件,参数是模板函数的名称。
Example 13-25. unregister_function 例子 13-35. 注销函数
// we don"t want template designers to have access to system files// 让模板设计者不能操作系统文件$smarty->unregister_function("fetch");