setValue() protected method
Stores a value identified by a key in cache.
This method should be implemented by child classes to store the data in specific cache storage.
| protected boolean setValue ( $key, $value, $expire ) | ||
|---|---|---|
| $key | string |
The key identifying the value to be cached |
| $value | string |
The value to be cached |
| $expire | integer |
The number of seconds in which the cached value will expire. 0 means never expire. |
| return | boolean |
True if the value is successfully stored into cache, false otherwise |
Please login to continue.