Name
unregisterPlugin 鈥 娉ㄩ攢鎻掍欢
璇存槑
void聽unregisterPlugin(string聽type,
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽string聽name);
璇ュ嚱鏁板皢娉ㄩ攢閫氳繃registerPlugin()娉ㄥ唽鐨勬彃浠躲 鍙傛暟濡備笅锛
type
defines the type of the plugin. Valid values are "function", "block", "compiler" and "modifier".name
defines the name of the plugin.
Example聽14.50.聽娉ㄩ攢鍑芥暟
<?php // 鎴戜滑涓嶅笇鏈涙ā鏉胯璁¤呬娇鐢"date_now" 鍑芥暟 $smarty->unregisterPlugin("function","date_now"); ?>
鍙傝
registerPlugin()
.