ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilStaticCache. More...
Public Member Functions | |
exists ($key) | |
set ($key, $serialized_value, $ttl=null) | |
get ($key) | |
delete ($key) | |
flush () | |
serialize ($value) | |
unserialize ($serialized_value) | |
Public Member Functions inherited from ilGlobalCacheService | |
__construct ($service_id, $component) | |
unserialize ($serialized_value) | |
get ($key) | |
set ($key, $serialized_value, $ttl=null) | |
serialize ($value) | |
getServiceId () | |
setServiceId ($service_id) | |
getComponent () | |
setComponent ($component) | |
isActive () | |
isInstallable () | |
returnKey ($key) | |
getInfo () | |
getInstallationFailureReason () | |
exists ($key) | |
delete ($key) | |
flush () | |
setServiceType ($service_type) | |
getServiceType () | |
setValid ($key) | |
Declare a key as valid. More... | |
setInvalid ($key=null) | |
Set the key as invalid. More... | |
isValid ($key) | |
Checks whether the cache key is valid or not. More... | |
Protected Member Functions | |
getActive () | |
getInstallable () | |
Protected Member Functions inherited from ilGlobalCacheService | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static | $cache = array() |
Static Protected Attributes inherited from ilGlobalCacheService | |
static | $active = array() |
static | $installable = array() |
Additional Inherited Members | |
Protected Attributes inherited from ilGlobalCacheService | |
$current_time = 0 | |
$valid_keys = array() | |
$service_id = '' | |
$component = '' | |
$service_type = ilGlobalCache::TYPE_STATIC | |
$valid_key_hash = '' | |
ilStaticCache::delete | ( | $key | ) |
$key |
Definition at line 74 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::exists | ( | $key | ) |
$key |
Definition at line 42 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::flush | ( | ) |
ilStaticCache::get | ( | $key | ) |
$key |
Definition at line 64 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
|
protected |
|
protected |
ilStaticCache::serialize | ( | $value | ) |
ilStaticCache::set | ( | $key, | |
$serialized_value, | |||
$ttl = null |
|||
) |
$key | ||
$serialized_value | ||
null | $ttl |
Definition at line 54 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::unserialize | ( | $serialized_value | ) |
|
staticprotected |
Definition at line 34 of file class.ilStaticCache.php.