Cache_Lite::save()

Cache_Lite::save() -- Save some data in a cache file

Synopsis

require_once 'Lite.php';

boolean Cache_Lite::save (string $data [, string $id = NULL [, string $group = 'default']])

Description

save the given data (which has to be a string if automaticSerialization is set to FALSE (default)).

Parameter

string $data

data to put in a cache file (can be another type than strings if automaticSerialization is FALSE (default)).

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