_getSmartyObj(); if (isset($smarty->registered_objects[ $object_name ])) { unset($smarty->registered_objects[ $object_name ]); } return $obj; } }