- renamed function names of autoloaded Smarty methods to Smarty_Method_....

- new security_class property (default is Smarty_Security)
This commit is contained in:
Uwe.Tews
2009-11-03 20:38:38 +00:00
parent 05c64b7748
commit 94b80e892b
90 changed files with 162 additions and 171 deletions

View File

@@ -18,7 +18,7 @@
* @param string $function_impl the name of the PHP function to register
* @param boolean $cacheable if true (default) this fuction is cachable
*/
function register_function($smarty, $function_tag, $function_impl, $cacheable = true, $cache_attr = array())
function Smarty_Method_Register_Function($smarty, $function_tag, $function_impl, $cacheable = true, $cache_attr = array())
{
if (isset($smarty->registered_plugins[$function_tag])) {
throw new Exception("Plugin tag \"{$function_tag}\" already registered");