Cache_Lite::remove()

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

Referentiesamenvatting

require_once 'Cache/Lite.php';

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

Beschrijving

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

Parameter

string $id

cache id

string $group

name of the cache group

Return waarde

returns true if no problem

Note

Deze functie kan niet statisch worden aangeroepen.

Voorbeeld

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.