Class ilShm.
More...
◆ __construct()
ilShm::__construct |
( |
|
$service_id, |
|
|
|
$component |
|
) |
| |
◆ delete()
- Parameters
-
- Returns
- bool
Definition at line 97 of file class.ilShm.php.
References $key.
99 return shm_remove_var(self::$shm_id,
$key);
◆ exists()
- Parameters
-
- Returns
- bool
Definition at line 62 of file class.ilShm.php.
References $key.
64 return shm_has_var(self::$shm_id,
$key);
◆ flush()
- Returns
- bool
Definition at line 106 of file class.ilShm.php.
References $id.
if(!array_key_exists('StateId', $_REQUEST)) $id
◆ get()
- Parameters
-
- Returns
- mixed
Definition at line 86 of file class.ilShm.php.
88 return shmop_read(self::$shm_id, 0, self::$block_size);
◆ getActive()
set self::$active
Definition at line 29 of file class.ilShm.php.
31 self::$active = function_exists(
'shmop_open');
◆ getInstallable()
ilShm::getInstallable |
( |
| ) |
|
|
protected |
set self::$installable
Definition at line 38 of file class.ilShm.php.
41 self::$active = function_exists(
'shmop_open');
◆ serialize()
ilShm::serialize |
( |
|
$value | ) |
|
◆ set()
ilShm::set |
( |
|
$key, |
|
|
|
$serialized_value, |
|
|
|
$ttl = null |
|
) |
| |
- Parameters
-
| $key | |
| $serialized_value | |
null | $ttl | |
- Returns
- bool
Definition at line 75 of file class.ilShm.php.
References $key.
77 return shmop_write(self::$shm_id,
$key, $serialized_value);
◆ unserialize()
ilShm::unserialize |
( |
|
$serialized_value | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 130 of file class.ilShm.php.
unserialize($serialized_value)
◆ $block_size
◆ $shm_id
The documentation for this class was generated from the following file: