PEAR Manual
PrevNext

Cache_Lite::clean()

Cache_Lite::clean() -- Clean the cache

Synopsis

require_once 'Lite.php';

boolean Cache_Lite::clean ([string $group = FALSE])

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

Note

This function can not be called statically.

Example

This example cleans all of the cache files.


PrevHomeNext
Cache_Lite::remove()UpCache_Lite::setToDebug()