mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-29 22:09:27 +01:00
29 lines
328 B
Markdown
29 lines
328 B
Markdown
|
|
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)
|