Proxies a StudipCache and stores the expire operation in the database. These operations are lateron applied to the cache they should have been applied to in the beginning.
- 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 3.3
- Parameters
-
StudipCache | $cache | The actual cache object |
mixed | $proxy_these | List of operations to proxy (should be an array but a space seperated string is also valid) |
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 |
( |
|
$key, |
|
|
|
$content, |
|
|
|
$expires = self::DEFAULT_EXPIRATION |
|
) |
| |
Store data at the server.
- Parameters
-
string | $key | The item's key |
string | $content | The item's conten |
int | $expires | The item's expiry time in seconds, defaults to 12h |
- Returns
- bool Returns TRUE on success or FALSE on failure
Implements StudipCache.
The documentation for this class was generated from the following file: