ElggHMACCache Class Reference

Inheritance diagram for ElggHMACCache:
ElggCache

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 9 of file ElggHMACCache.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 15 of file ElggHMACCache.php.

ElggHMACCache::__destruct (  ) 

Clean out old stuff.

Definition at line 89 of file ElggHMACCache.php.


Member Function Documentation

ElggHMACCache::clear (  ) 

Clear out all the contents of the cache.

Not currently implemented in this cache type.

Returns:
true

Reimplemented from ElggCache.

Definition at line 81 of file ElggHMACCache.php.

ElggHMACCache::delete ( key  ) 

Invalidate a given key.

Parameters:
string $key Name
Returns:
bool

Reimplemented from ElggCache.

Definition at line 66 of file ElggHMACCache.php.

ElggHMACCache::load ( key,
offset = 0,
limit = null 
)

Load a key.

Parameters:
string $key Name
int $offset Offset
int $limit Limit
Returns:
string

Reimplemented from ElggCache.

Definition at line 46 of file ElggHMACCache.php.

ElggHMACCache::save ( key,
data 
)

Save a key.

Parameters:
string $key Name
string $data Value
Returns:
boolean

Reimplemented from ElggCache.

Definition at line 27 of file ElggHMACCache.php.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations
Generated on Sat May 18 00:01:24 2013 for Elgg by  doxygen 1.6.3