Cache_Lite::remove()

Cache_Lite::remove() -- Remove a cache file

Synopsis

require_once 'Lite.php';

boolean Cache_Lite::remove (string $id [, string $group = 'default'])

Description

remove the given cache file (specified with its id and group)

Parameter

string $id

cache id

string $group

name of the cache group

Return value

returns true if no problem

Note

This function can not be called statically.

Example

This is a dummy example because the cache is destroyed at the beginning of the script ! So the first case of the if statement is impossible.