Method | Description | |
---|---|---|
__construct ( integer $max_age ) | Set the Elgg cache. | |
__destruct ( ) | Clean out old stuff. | |
clear ( ) : true | Clear out all the contents of the cache. | |
delete ( string $key ) : boolean | Invalidate a given key. | |
load ( string $key, integer $offset, integer $limit = null ) : string | Load a key | |
save ( string $key, string $data ) : boolean | Save a key |
public __construct ( integer $max_age ) | ||
$max_age | integer | Maximum age in seconds, 0 if no limit. |
public clear ( ) : true | ||
return | true |