unregisterResource() — dynamically unregister a resource plugin
void unregisterResource(string name);
Pass in the name of the resource.
name
Example 14.51. unregisterResource()
<?php $smarty->unregisterResource('db'); ?>
See also registerResource() and template resources
registerResource()