mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-14 19:09:55 +01:00
- change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
This commit is contained in:
28
libs/sysplugins/smarty_method_unregister_object.php
Normal file
28
libs/sysplugins/smarty_method_unregister_object.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method Unregister_Object
|
||||
*
|
||||
* Unregister a PHP object
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* Unregister a PHP object
|
||||
*/
|
||||
|
||||
/**
|
||||
* Unregisters object
|
||||
*
|
||||
* @param string $object name of template object
|
||||
*/
|
||||
function unregister_object($smarty, $object)
|
||||
{
|
||||
unset($smarty->registered_objects[$object]);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user