Code

Updated smarty
[gosa.git] / gosa-core / include / smarty / sysplugins / smarty_method_unregister_compiler_function.php
1 <?php
3 /**
4 * Smarty method Unregister_Compiler_Function
5
6 * Unregister a Smarty compiler function plugin
7
8 * @package Smarty
9 * @subpackage SmartyMethod
10 * @author Uwe Tews 
11 */
13 /**
14 * Unregister a Smarty compiler function plugin
15 */
17 /**
18 * Unregisters compiler function
19
20 * @param string $compiler_tag name of template function
21 */
22 function  Smarty_Method_Unregister_Compiler_Function($smarty, $compiler_tag)
23 {
24     if (isset($smarty->registered_plugins['compiler'][$compiler_tag])) {
25         unset($smarty->registered_plugins['compiler'][$compiler_tag]);
26     } 
27
29 ?>