ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $service_id, string $component) | |
ilShm constructor. More... | |
exists (string $key) | |
set (string $key, $serialized_value, int $ttl=null) | |
get (string $key) | |
delete (string $key) | |
flush (bool $complete=false) | |
serialize ($value) | |
unserialize ($serialized_value) | |
![]() | |
__construct (string $service_id, string $component) | |
ilGlobalCacheService constructor. More... | |
unserialize ($serialized_value) | |
get (string $key) | |
set (string $key, $serialized_value, int $ttl=null) | |
serialize ($value) | |
getServiceId () | |
setServiceId (string $service_id) | |
getComponent () | |
setComponent (string $component) | |
isActive () | |
isInstallable () | |
returnKey (string $key) | |
getInfo () | |
getInstallationFailureReason () | |
exists (string $key) | |
delete (string $key) | |
flush (bool $complete=false) | |
setServiceType (int $service_type) | |
getServiceType () | |
setValid (string $key) | |
Declare a key as valid. More... | |
isValid (string $key) | |
Checks whether the cache key is valid or not. More... | |
Protected Member Functions | |
getActive () | |
set self::$active More... | |
getInstallable () | |
set self::$installable More... | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static int | $shm_id |
static int | $block_size = 0 |
![]() | |
static array | $active = array() |
static array | $installable = array() |
Additional Inherited Members | |
![]() | |
int | $current_time = 0 |
array | $valid_keys = array() |
string | $service_id = '' |
string | $component = '' |
int | $service_type = ilGlobalCache::TYPE_STATIC |
string | $valid_key_hash = '' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilShm http://php.net/manual/en/shmop.examples-basic.php
Definition at line 25 of file class.ilShm.php.
ilShm::__construct | ( | string | $service_id, |
string | $component | ||
) |
ilShm constructor.
Definition at line 49 of file class.ilShm.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilShm::delete | ( | string | $key | ) |
ilShm::exists | ( | string | $key | ) |
ilShm::flush | ( | bool | $complete = false | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 78 of file class.ilShm.php.
ilShm::get | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 68 of file class.ilShm.php.
|
protected |
set self::$active
Definition at line 33 of file class.ilShm.php.
|
protected |
set self::$installable
Definition at line 41 of file class.ilShm.php.
ilShm::serialize | ( | $value | ) |
ilShm::set | ( | string | $key, |
$serialized_value, | |||
int | $ttl = null |
||
) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 62 of file class.ilShm.php.
ilShm::unserialize | ( | $serialized_value | ) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 98 of file class.ilShm.php.
|
staticprotected |
Definition at line 28 of file class.ilShm.php.
|
staticprotected |
Definition at line 27 of file class.ilShm.php.