ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct ($service_id, $component) | |
exists ($key) | |
set ($key, $serialized_value, $ttl=null) | |
get ($key) | |
delete ($key) | |
flush ($complete=false) | |
serialize ($value) | |
unserialize ($serialized_value) | |
![]() | |
__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 ($complete=false) | |
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 () | |
@description set self::$active More... | |
getInstallable () | |
@description set self::$installable More... | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static | $shm_id = null |
static | $block_size = 0 |
![]() | |
static | $active = array() |
static | $installable = array() |
Additional Inherited Members | |
![]() | |
$current_time = 0 | |
$valid_keys = array() | |
$service_id = '' | |
$component = '' | |
$service_type = ilGlobalCache::TYPE_STATIC | |
$valid_key_hash = '' | |
Class ilShm.
@beta http://php.net/manual/en/shmop.examples-basic.php
Definition at line 13 of file class.ilShm.php.
ilShm::__construct | ( | $service_id, | |
$component | |||
) |
$service_id | |
$component |
Reimplemented from ilGlobalCacheService.
Definition at line 49 of file class.ilShm.php.
References ilGlobalCacheService\$component, ilGlobalCacheService\$service_id, and ILIAS\GlobalScreen\Provider\__construct().
ilShm::delete | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 97 of file class.ilShm.php.
ilShm::exists | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 62 of file class.ilShm.php.
ilShm::flush | ( | $complete = false | ) |
bool | $complete |
Reimplemented from ilGlobalCacheService.
Definition at line 108 of file class.ilShm.php.
ilShm::get | ( | $key | ) |
$key |
Reimplemented from ilGlobalCacheService.
Definition at line 86 of file class.ilShm.php.
|
protected |
@description set self::$active
Reimplemented from ilGlobalCacheService.
Definition at line 29 of file class.ilShm.php.
|
protected |
@description set self::$installable
Reimplemented from ilGlobalCacheService.
Definition at line 38 of file class.ilShm.php.
ilShm::serialize | ( | $value | ) |
$value |
Reimplemented from ilGlobalCacheService.
Definition at line 122 of file class.ilShm.php.
References serialize().
Referenced by serialize().
ilShm::set | ( | $key, | |
$serialized_value, | |||
$ttl = null |
|||
) |
$key | ||
$serialized_value | ||
null | $ttl |
Reimplemented from ilGlobalCacheService.
Definition at line 75 of file class.ilShm.php.
ilShm::unserialize | ( | $serialized_value | ) |
$serialized_value |
Reimplemented from ilGlobalCacheService.
Definition at line 133 of file class.ilShm.php.
References unserialize().
Referenced by unserialize().
|
staticprotected |
Definition at line 23 of file class.ilShm.php.
|
staticprotected |
Definition at line 19 of file class.ilShm.php.