|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
|
| |
Cache_Lite::cleanCache_Lite::clean() -- Clean the cache Description
if no group is specified all cache files will be destroyed ; else only
cache files of the specified group will be destroyed
Parameter
- string
$group
name of the cache group
Return value
returns true if no problem
NoteThis function can not be called
statically. ExampleExample 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.
|
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|