> Smarty模板引擎中文在线手册 > unregister_modifier [注销修饰器]

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");
上一篇:
下一篇: