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