ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
SessionStore.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore
;
22
23
use
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore
;
24
use
ilSession
;
25
26
final
class
SessionStore
implements
KeyValueStore
27
{
28
public
function
value
(
string
$name): string
29
{
30
return
ilSession::get
($name) ??
''
;
31
}
32
33
public
function
update
(
string
$name,
string
$value): void
34
{
35
ilSession::set
($name, $value);
36
}
37
}
ilSession\get
static get(string $a_var)
Definition:
class.ilSession.php:388
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore\SessionStore
Definition:
SessionStore.php:26
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore
Definition:
ILIASSettingStore.php:21
ilSession
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore\SessionStore\update
update(string $name, string $value)
Definition:
SessionStore.php:33
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore
Definition:
KeyValueStore.php:23
ILIAS\LegalDocuments\ConsumerToolbox\KeyValueStore\SessionStore\value
value(string $name)
Definition:
SessionStore.php:28
ilSession\set
static set(string $a_var, $a_val)
Set a value.
Definition:
class.ilSession.php:380
components
ILIAS
LegalDocuments
classes
ConsumerToolbox
KeyValueStore
SessionStore.php
Generated on Sun Aug 31 2025 23:03:13 for ILIAS by
1.8.13 (using
Doxyfile
)