mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-29 05:49:23 +01:00
29 lines
401 B
Markdown
29 lines
401 B
Markdown
|
|
unregisterCacheResource()
|
||
|
|
|
||
|
|
dynamically unregister a CacheResource plugin
|
||
|
|
|
||
|
|
Description
|
||
|
|
===========
|
||
|
|
|
||
|
|
void
|
||
|
|
|
||
|
|
unregisterCacheResource
|
||
|
|
|
||
|
|
string
|
||
|
|
|
||
|
|
name
|
||
|
|
|
||
|
|
Pass in the `name` of the CacheResource.
|
||
|
|
|
||
|
|
|
||
|
|
<?php
|
||
|
|
|
||
|
|
$smarty->unregisterCacheResource('mysql');
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
See also [`registerCacheResource()`](#api.register.cacheresource) and
|
||
|
|
the [Custom CacheResource Implementation](#caching.custom) section.
|