Smarty - the compiling PHP
template engine |
Prev 来源:PHP中文社区
|
Chapter 13. Methods |
Next
|
unregister_modifier
注销修饰器
void unregister_modifier
(string
name)
Use this to dynamically unregister modifier plugin. Pass in the
template modifier name.
动态注销修饰器插件,参数是模板修饰器的名称。
Example 13-26. unregister_modifier
例子 13-26. 注销修饰器
// we don't want template designers to strip tags from elements // 禁止模板设计者去除元素的标记
$smarty->unregister_modifier("strip_tags");
|
|