Solar_Cache_Adapter_Memcache::save()
public
bool
Solar_Cache_Adapter_Memcache::save
( string $key
, mixed $data
, int $life = NULL
)
Updates or inserts cache entry data.
Parameters
(string)
$key
: The entry ID.(mixed)
$data
: The data to write into the entry.(int)
$life
: A custom lifespan, in seconds, for the entry; if null, uses the default lifespan for the adapter instance.
Returns
(bool) True on success, false on failure.
Description
Updates or inserts cache entry data.