Cache_Lite::remove()

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

Synopsis

require_once 'Cache/Lite.php';

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

Beschreibung

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

Parameter

string $id

cache id

string $group

name of the cache group

Rückgabewert

returns true if no problem

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel

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.