MongodbBackend::save
Save some string datas into a cache record
Note : $data is always "string" (serialization is done by the core not by the backend)
Signature
public function save(string
$data,
string
$id,
[array
$tags = ,
[boolean
$specificLifetime = false]] )
Parameters
$data
— string- Datas to cache
$id
— string- Cache id
$tags
— array- Array of strings, the cache record will be tagged by each string entry
$specificLifetime
— boolean- If != false, set a specific lifetime for this cache record (null => infinite lifetime)
Returns
- boolean
- true if no problem