ILIAS
release_8 Revision v8.19
|
Keeps the state of a view in a simple stringly type key-value store. More...
Public Member Functions | |
withValueFor (string $key, string $value) | |
Set a value for a key of the state. More... | |
withoutKey (string $key) | |
Remove the key-value-pair. More... | |
getValueFor (string $key) | |
Get the value for the given key. More... | |
serialize () | |
Get the key-value store as string. More... | |
Protected Attributes | |
array | $store = null |
Keeps the state of a view in a simple stringly type key-value store.
ILIAS\KioskMode\State::getValueFor | ( | string | $key | ) |
Get the value for the given key.
Definition at line 42 of file State.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by ilLearningModuleKioskModeView\buildControls(), ilLearningModuleKioskModeView\render(), and StateTest\testValue().
ILIAS\KioskMode\State::serialize | ( | ) |
Get the key-value store as string.
Definition at line 53 of file State.php.
Referenced by StateTest\testRemoveValue(), and StateTest\testSerialize().
ILIAS\KioskMode\State::withoutKey | ( | string | $key | ) |
Remove the key-value-pair.
Definition at line 32 of file State.php.
Referenced by StateTest\testRemoveValue().
ILIAS\KioskMode\State::withValueFor | ( | string | $key, |
string | $value | ||
) |
Set a value for a key of the state.
Definition at line 22 of file State.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by ilLearningModuleKioskModeView\buildInitialState(), StateTest\testRemoveValue(), StateTest\testValue(), and ilLearningModuleKioskModeView\updateGet().