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'])

Описание

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

Параметр

string $id

cache id

string $group

name of the cache group

Возвращаемое значение

returns true if no problem

Заметка

Эта функция не должна вызываться статически.

Пример

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.