void unregister_modifier (string name)
void unregister_modifier
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");