require_once 'Lite.php';
boolean Cache_Lite::clean ([string $group = FALSE])
boolean Cache_Lite::clean
if no group is specified all cache files will be destroyed ; else only cache files of the specified group will be destroyed
name of the cache group
returns true if no problem
This function can not be called statically.
Example 23-1. classical using
<?php require_once "Cache/Lite.php"; $options = array('cacheDir' => '/tmp/'); $cache = Cache_Lite($options); $cache->clean(); ?>
This example cleans all of the cache files.