unregister_resource

void unregister_resource (string name)

Use this to dynamically unregister a resource plugin. Pass in the name of the resource.

Пример 13-27. unregister_resource

$smarty->unregister_resource("db");