Class ElggHMACCache
ElggHMACCache Store cached data in a temporary database, only used by the
HMAC stuff.
-
ElggCache
implements
ArrayAccess
-
ElggHMACCache
Methods summary
public
|
#
__construct( integer $max_age = 0 )
Set the Elgg cache.
Parameters
- $max_age
integer $max_age Maximum age in seconds, 0 if no limit.
Overrides
|
public
boolean
|
#
save( string $key, string $data )
Save a key
Parameters
- $key
string $key Name
- $data
string $data Value
Returns
boolean
|
public
string
|
#
load( string $key, integer $offset = 0, integer $limit = null )
Load a key
Parameters
- $key
string $key Name
- $offset
integer $offset Offset
- $limit
integer $limit Limit
Returns
string
|
public
boolean
|
#
delete( string $key )
Invalidate a given key.
Parameters
Returns
boolean
|
public
true
|
#
clear( )
Clear out all the contents of the cache.
Clear out all the contents of the cache.
Not currently implemented in this cache type.
Returns
true
|
public
|
|
Methods inherited from ElggCache
__get(),
__isset(),
__set(),
__unset(),
add(),
getVariable(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
setVariable()
|