The php memory implementation of the StudipCache interface.
- Author
- Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version
- Since
- Stud.IP 5.0
Expires just a single key.
- Parameters
-
Implements StudipCache.
Expire all items from the cache.
Implements StudipCache.
Reads just a single key from the cache.
- Parameters
-
- Returns
- mixed the corresponding value
Implements StudipCache.
write |
( |
|
$name, |
|
|
|
$content, |
|
|
|
$expires = self::DEFAULT_EXPIRATION |
|
) |
| |
Store data at the server.
- Parameters
-
string | the item's key. |
mixed | the item's content (will be serialized if necessary). |
int | the item's expiry time in seconds. Defaults to 12h. |
- Returns
- mixed returns TRUE on success or FALSE on failure.
Implements StudipCache.
The documentation for this class was generated from the following file: