◆ expire()
Expires just a single key.
- Parameters
-
- Returns
- void
Implements StudipCache.
◆ flush()
Expire all items from the cache.
Implements StudipCache.
◆ read()
Reads just a single key from the cache.
- Parameters
-
- Returns
- mixed the corresponding value
Implements StudipCache.
◆ write()
write |
( |
|
$name, |
|
|
|
$content, |
|
|
|
$expire = 43200 |
|
) |
| |
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: