RuntimeCache Class Reference
[Lib]
Cache for storing data at runtime. More...
Static Public Member Functions |
|
static | clear_all () |
Clears all global cache items. |
|
static | get ($keys, $default=false) |
Find cache iten. |
|
static | remove ($keys) |
Unsets cache item. |
|
static | set ($keys, $value) |
Sets cache item. |
Detailed Description
Cache for storing data at runtime.
Definition at line 8 of file runtimecache.cls.php.
Member Function Documentation
static RuntimeCache::clear_all | ( | ) | [static] |
static RuntimeCache::get | ( | $ | keys, | |
$ | default = false |
|||
) | [static] |
Find cache iten.
- Parameters:
-
string|array $keys mixed $default
- Returns:
- mixed
Definition at line 28 of file runtimecache.cls.php.
00028 { 00029 return Arr::get_item_recursive(self::$cache, $keys, $default); 00030 }
static RuntimeCache::remove | ( | $ | keys | ) | [static] |
Unsets cache item.
- Parameters:
-
string|array $keys
Definition at line 37 of file runtimecache.cls.php.
00037 { 00038 Arr::unset_item_recursive(self::$cache, $keys); 00039 }
static RuntimeCache::set | ( | $ | keys, | |
$ | value | |||
) | [static] |
Sets cache item.
- Parameters:
-
string|array $keys mixed $value
Definition at line 17 of file runtimecache.cls.php.
00017 { 00018 Arr::set_item_recursive(self::$cache, $keys, $value); 00019 }
The documentation for this class was generated from the following file:
- gyro/core/lib/helpers/runtimecache.cls.php