Solar_Sql_Model_Cache::add()
public
bool
Solar_Sql_Model_Cache::add
( string $key
, mixed $data
)
Adds data to the cache under a specified key.
Parameters
(string)
$key
: The cache entry key.(mixed)
$data
: The data to add to the cache.
Returns
(bool) True on success, false on failure.
Description
Adds data to the cache under a specified key.
Note that this is a race-condition safe add, not a save.