Cache_Lite_File::get()

Cache_Lite_File::get() -- Test if a cache is available and (if yes) return it

Referentiesamenvatting

require_once 'Cache/Lite/File.php';

string Cache_Lite_File::get (string $id [, string $group = 'default'])

Beschrijving

test the validity of a cache file and return it if it's available (FALSE else)

Parameter

string $id

cache id

string $group

name of the cache group

Return waarde

returns data of the cache (or false if no cache available)

Note

Deze functie kan niet statisch worden aangeroepen.

Voorbeeld