16     private static $__cache;
 
   43         \ElggStaticVariableCache::$__cache[$namespace][
$key] = 
$data;
 
   60         if (isset(\ElggStaticVariableCache::$__cache[$namespace][
$key])) {
 
   61             return \ElggStaticVariableCache::$__cache[$namespace][
$key];
 
   74     public function delete(
$key) {
 
   77         unset(\ElggStaticVariableCache::$__cache[$namespace][
$key]);
 
   90         if (!isset(\ElggStaticVariableCache::$__cache)) {
 
   91             \ElggStaticVariableCache::$__cache = array();
 
   94         \ElggStaticVariableCache::$__cache[$namespace] = array();
 
getNamespace()
Get the namespace currently defined.
 
setNamespace($namespace="default")
Set the namespace of this cache.
 
save($key, $data)
Save a key.
 
__construct($namespace='default')
Create the variable cache.
 
clear()
Clears the cache for a particular namespace.
 
load($key, $offset=0, $limit=null)
Load a key.