Files
smarty/libs/sysplugins/smarty_method_unregister_compiler_function.php
Uwe.Tews 94b80e892b - renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
2009-11-03 20:38:38 +00:00

30 lines
607 B
PHP

<?php
/**
* Smarty method Unregister_Compiler_Function
*
* Unregister a Smarty compiler function plugin
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Unregister a Smarty compiler function plugin
*/
/**
* Unregisters compiler function
*
* @param string $compiler_tag name of template function
*/
function Smarty_Method_Unregister_Compiler_Function($smarty, $compiler_tag)
{
if (isset($smarty->registered_plugins[$compiler_tag]) && $smarty->registered_plugins[$compiler_tag][0] == 'compiler') {
unset($smarty->registered_plugins[$compiler_tag]);
}
}
?>