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. | |
Definition at line 9 of file ElggHMACCache.php.
| ElggHMACCache::__construct | ( | $ | max_age = 0 |
) |
Set the Elgg cache.
| int | $max_age Maximum age in seconds, 0 if no limit. |
Definition at line 15 of file ElggHMACCache.php.
| ElggHMACCache::__destruct | ( | ) |
Clean out old stuff.
Definition at line 89 of file ElggHMACCache.php.
| ElggHMACCache::clear | ( | ) |
Clear out all the contents of the cache.
Not currently implemented in this cache type.
Reimplemented from ElggCache.
Definition at line 81 of file ElggHMACCache.php.
| ElggHMACCache::delete | ( | $ | key | ) |
Invalidate a given key.
| string | $key Name |
Reimplemented from ElggCache.
Definition at line 66 of file ElggHMACCache.php.
| ElggHMACCache::load | ( | $ | key, | |
| $ | offset = 0, |
|||
| $ | limit = null | |||
| ) |
Load a key.
| string | $key Name | |
| int | $offset Offset | |
| int | $limit Limit |
Reimplemented from ElggCache.
Definition at line 46 of file ElggHMACCache.php.
| ElggHMACCache::save | ( | $ | key, | |
| $ | data | |||
| ) |
Save a key.
| string | $key Name | |
| string | $data Value |
Reimplemented from ElggCache.
Definition at line 27 of file ElggHMACCache.php.
1.6.3