- 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

@@ -17,7 +17,7 @@
* @param string $varname variable name or null
* @return string variable value or or array of variables
*/
function get_global($smarty, $varname = null)
function Smarty_Method_Get_Global($smarty, $varname = null)
{
if (isset($varname)) {
if (isset($smarty->global_tpl_vars[$varname])) {