aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-cacheresource.md
blob: d097519db5737acab4679339a1ba9f77a132e454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.