|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Adapts key-value storage to the UI ArrayAccess contract. More...
Inheritance diagram for ILIAS\Authentication\KeyValueStorage\UiStorageAdapter:
Collaboration diagram for ILIAS\Authentication\KeyValueStorage\UiStorageAdapter:Public Member Functions | |
| __construct (private AuthenticatedSubjectResolver $subjects, private Services $services, Refinery $refinery,) | |
| offsetExists (mixed $offset) | |
| offsetGet (mixed $offset) | |
| offsetSet (mixed $offset, mixed $value) | |
| offsetUnset (mixed $offset) | |
Private Member Functions | |
| storage () | |
| Chosen per access, since the user may log in or out after the adapter was built. More... | |
| assertStringOffset (mixed $offset) | |
Private Attributes | |
| const array | NAMESPACE = ['ui', 'storage'] |
| Transformation | $as_stored |
Adapts key-value storage to the UI ArrayAccess contract.
A fully authenticated user keeps UI state in the persistent subject store. Everyone else keeps it in the current session.
Definition at line 36 of file UiStorageAdapter.php.
| ILIAS\Authentication\KeyValueStorage\UiStorageAdapter::__construct | ( | private AuthenticatedSubjectResolver | $subjects, |
| private Services | $services, | ||
| Refinery | $refinery | ||
| ) |
Definition at line 42 of file UiStorageAdapter.php.
References ILIAS\UI\examples\Layout\Page\Mail\$refinery.
|
private |
Definition at line 81 of file UiStorageAdapter.php.
Referenced by ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetExists(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetGet(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetSet(), and ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetUnset().
Here is the caller graph for this function:| ILIAS\Authentication\KeyValueStorage\UiStorageAdapter::offsetExists | ( | mixed | $offset | ) |
Definition at line 61 of file UiStorageAdapter.php.
References ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\assertStringOffset(), and ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\storage().
Here is the call graph for this function:| ILIAS\Authentication\KeyValueStorage\UiStorageAdapter::offsetGet | ( | mixed | $offset | ) |
Definition at line 66 of file UiStorageAdapter.php.
References ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\assertStringOffset(), and ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\storage().
Referenced by ILIAS\Tests\Authentication\KeyValueStorage\UiStorageAdapterTest\testOffsetGetPassesTheIdentityTransformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Authentication\KeyValueStorage\UiStorageAdapter::offsetSet | ( | mixed | $offset, |
| mixed | $value | ||
| ) |
Definition at line 71 of file UiStorageAdapter.php.
References ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\assertStringOffset(), and ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\storage().
Referenced by ILIAS\Tests\Authentication\KeyValueStorage\UiStorageAdapterTest\testALoginAfterTheAdapterWasBuiltSwitchesToThePersistentStore().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Authentication\KeyValueStorage\UiStorageAdapter::offsetUnset | ( | mixed | $offset | ) |
Definition at line 76 of file UiStorageAdapter.php.
References ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\assertStringOffset(), and ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\storage().
Here is the call graph for this function:
|
private |
Chosen per access, since the user may log in or out after the adapter was built.
The stores are memoized by the storage services.
Definition at line 54 of file UiStorageAdapter.php.
Referenced by ILIAS\UI\Implementation\Component\Table\AbstractTable\getStorageData(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetExists(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetGet(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetSet(), ILIAS\Authentication\KeyValueStorage\UiStorageAdapter\offsetUnset(), and ILIAS\UI\Implementation\Component\Table\AbstractTable\setStorageData().
Here is the caller graph for this function:
|
private |
Definition at line 40 of file UiStorageAdapter.php.
|
private |
Definition at line 38 of file UiStorageAdapter.php.