void unregister_resource (string name)
void unregister_resource
Use this to dynamically unregister a resource plugin. Pass in the name of the resource.
Пример 13-27. unregister_resource
$smarty->unregister_resource("db");