Name

unregisterCacheResource() — dynamically unregister a CacheResource plugin

Description

void unregisterCacheResource(string name);

Pass in the name of the CacheResource.

Example 14.49. unregisterCacheResource()


<?php

$smarty->unregisterCacheResource('mysql');

?>

   

See also registerCacheResource() and the Custom CacheResource Implementation section.