Files
smarty/docs/programmers/api-functions/api-unregister-resource.md

29 lines
328 B
Markdown
Raw Normal View History

unregisterResource()
dynamically unregister a resource plugin
Description
===========
void
unregisterResource
string
name
Pass in the `name` of the resource.
<?php
$smarty->unregisterResource('db');
?>
See also [`registerResource()`](#api.register.resource) and [template
resources](#resources)