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 | |
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 () | |
getInstallable () | |
![]() | |
getActive () | |
getInstallable () | |
getMemoryLimit () | |
getMinMemory () | |
checkMemory () | |
Static Protected Attributes | |
static array | $cache = [] |
![]() | |
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 ilStaticCache
Definition at line 25 of file class.ilStaticCache.php.
ilStaticCache::delete | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 61 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::exists | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 39 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::flush | ( | bool | $complete = false | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 68 of file class.ilStaticCache.php.
References ilGlobalCacheService\getComponent().
ilStaticCache::get | ( | string | $key | ) |
Implements ilGlobalCacheServiceInterface.
Definition at line 56 of file class.ilStaticCache.php.
References ILIAS\LTI\ToolProvider\$key, and ilGlobalCacheService\getComponent().
|
protected |
Definition at line 27 of file class.ilStaticCache.php.
|
protected |
Definition at line 32 of file class.ilStaticCache.php.
ilStaticCache::serialize | ( | $value | ) |
ilStaticCache::set | ( | string | $key, |
$serialized_value, | |||
int | $ttl = null |
||
) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 47 of file class.ilStaticCache.php.
References ILIAS\LTI\ToolProvider\$key, and ilGlobalCacheService\getComponent().
ilStaticCache::unserialize | ( | $serialized_value | ) |
mixed | $serialized_value |
Implements ilGlobalCacheServiceInterface.
Definition at line 92 of file class.ilStaticCache.php.
|
staticprotected |
Definition at line 37 of file class.ilStaticCache.php.