public save ( string $id, mixed $data, integer $lifeTime ) : boolean | ||
$id | string | The cache id. |
$data | mixed | The cache entry/data. |
$lifeTime | integer | The cache lifetime. If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime). |
return | boolean | TRUE if the entry was successfully stored in the cache, FALSE otherwise. |