mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-08 08:11:39 +01:00
- renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* @param string $name
|
||||
* @return object
|
||||
*/
|
||||
function get_registered_object($smarty, $name)
|
||||
function Smarty_Method_Get_Registered_Object($smarty, $name)
|
||||
{
|
||||
if (!isset($smarty->registered_objects[$name]))
|
||||
throw new Exception("'$name' is not a registered object");
|
||||
|
||||
Reference in New Issue
Block a user