ElggHMACCache Class Reference
List of all members.
Public Member Functions |
| | __construct ($max_age=0) |
| | Set the Elgg cache.
|
| | save ($key, $data) |
| | Save a key.
|
| | load ($key, $offset=0, $limit=null) |
| | Load a key.
|
| | delete ($key) |
| | Invalidate a given key.
|
| | clear () |
| | Clear out all the contents of the cache.
|
| | __destruct () |
| | Clean out old stuff.
|
Detailed Description
Definition at line 187 of file api.php.
Constructor & Destructor Documentation
| ElggHMACCache::__construct |
( |
$ |
max_age = 0 |
) |
|
Set the Elgg cache.
- Parameters:
-
| int | $max_age Maximum age in seconds, 0 if no limit. |
Definition at line 194 of file api.php.
| ElggHMACCache::__destruct |
( |
|
) |
|
Clean out old stuff.
Definition at line 263 of file api.php.
Member Function Documentation
Clear out all the contents of the cache.
Not currently implemented in this cache type.
Reimplemented from ElggCache.
Definition at line 257 of file api.php.
| ElggHMACCache::delete |
( |
$ |
key |
) |
|
Invalidate a given key.
- Parameters:
-
- Returns:
- bool
Reimplemented from ElggCache.
Definition at line 243 of file api.php.
| ElggHMACCache::load |
( |
$ |
key, |
|
|
$ |
offset = 0, |
|
|
$ |
limit = null | |
|
) |
| | |
Load a key.
- Parameters:
-
| string | $key |
| int | $offset |
| int | $limit |
- Returns:
- string
Reimplemented from ElggCache.
Definition at line 224 of file api.php.
| ElggHMACCache::save |
( |
$ |
key, |
|
|
$ |
data | |
|
) |
| | |
Save a key.
- Parameters:
-
- Returns:
- boolean
Reimplemented from ElggCache.
Definition at line 206 of file api.php.
The documentation for this class was generated from the following file: