Files
smarty/libs/sysplugins/smarty_method_unregister_compiler_function.php
Uwe.Tews cf379474fd - change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00

30 lines
592 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 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]);
}
}
?>