3 require_once(
'./Services/GlobalCache/classes/class.ilGlobalCacheService.php');
31 self::$active = function_exists(
'shmop_open');
41 self::$active = function_exists(
'shmop_open');
52 self::$shm_id = shmop_open(0xff3,
"c", 0644, 100);
53 self::$block_size = shmop_size(self::$shm_id);
64 return shm_has_var(self::$shm_id,
$key);
75 public function set(
$key, $serialized_value, $ttl = null)
77 return shmop_write(self::$shm_id,
$key, $serialized_value);
88 return shmop_read(self::$shm_id, 0, self::$block_size);
97 public function delete(
$key)
99 return shm_remove_var(self::$shm_id,
$key);
unserialize($serialized_value)
if(!array_key_exists('StateId', $_REQUEST)) $id
Class ilGlobalCacheService.
getActive()
set self::$active
getInstallable()
set self::$installable
__construct($service_id, $component)