ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly string $id, private readonly Container $container, private readonly Provide $provide, ?Closure $format_date=null, ?Closure $mail_contact=null) | |
slot () | |
defaultMappings () | |
marshal () | |
selectSettingsFrom (KeyValueStore $store) | |
readOnlyStore (KeyValueStore $store) | |
globalStore () | |
userStore (ilObjUser $user) | |
sessionStore () | |
ui () | |
user (Settings $global_settings, UserSettings $user_settings, ilObjUser $user) | |
routing () | |
retrieveQueryParameter (string $key, Closure $select) | |
userManagementAgreeDateField (callable $build_user, string $lang_key, ?string $module=null) | |
withRequest (Form $form, Closure $then) | |
notAvailable () | |
Private Member Functions | |
formatDate (?DateTimeImmutable $date) | |
Private Attributes | |
readonly Closure | $format_date |
readonly Closure | $mail_contact |
Definition at line 48 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::__construct | ( | private readonly string | $id, |
private readonly Container | $container, | ||
private readonly Provide | $provide, | ||
?Closure | $format_date = null , |
||
?Closure | $mail_contact = null |
||
) |
null|Closure(DateTimeImmutable) | string $format_date |
null|Closure() | string $mail_contact |
Definition at line 59 of file Blocks.php.
References ilDatePresentation\formatDate(), ilSystemSupportContacts\getMailsToAddress(), and IL_CAL_UNIX.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::defaultMappings | ( | ) |
Definition at line 82 of file Blocks.php.
|
private |
Definition at line 202 of file Blocks.php.
References ILIAS\LegalDocuments\ConsumerToolbox\Blocks\$format_date.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\userManagementAgreeDateField().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::globalStore | ( | ) |
Definition at line 102 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::marshal | ( | ) |
Definition at line 87 of file Blocks.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\selectSettingsFrom().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::notAvailable | ( | ) |
Definition at line 192 of file Blocks.php.
References ILIAS\LegalDocuments\ConsumerToolbox\Blocks\ui().
Referenced by ILIAS\LegalDocuments\test\ConsumerToolbox\BlocksTest\testNotAvailable().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::readOnlyStore | ( | KeyValueStore | $store | ) |
Definition at line 97 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::retrieveQueryParameter | ( | string | $key, |
Closure | $select | ||
) |
Closure(Refinery) | Transformation $select |
Definition at line 140 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::routing | ( | ) |
Definition at line 127 of file Blocks.php.
References ilStartUpGUI\logoutUrl(), ilInitialisation\redirectToStartingPage(), ILIAS\LegalDocuments\ConsumerToolbox\Blocks\selectSettingsFrom(), and ILIAS\LegalDocuments\ConsumerToolbox\Blocks\sessionStore().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::selectSettingsFrom | ( | KeyValueStore | $store | ) |
Definition at line 92 of file Blocks.php.
References ILIAS\LegalDocuments\ConsumerToolbox\Blocks\marshal().
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\routing().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::sessionStore | ( | ) |
Definition at line 112 of file Blocks.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\routing().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::slot | ( | ) |
Definition at line 72 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::ui | ( | ) |
Definition at line 117 of file Blocks.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\notAvailable(), and ILIAS\LegalDocuments\ConsumerToolbox\Blocks\userManagementAgreeDateField().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::user | ( | Settings | $global_settings, |
UserSettings | $user_settings, | ||
ilObjUser | $user | ||
) |
Definition at line 122 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::userManagementAgreeDateField | ( | callable | $build_user, |
string | $lang_key, | ||
?string | $module = null |
||
) |
Definition at line 145 of file Blocks.php.
References ILIAS\LegalDocuments\ConsumerToolbox\Blocks\formatDate(), ILIAS\Repository\modal(), ILIAS\LegalDocuments\Value\DocumentContent\title(), ILIAS\LegalDocuments\ConsumerToolbox\Blocks\ui(), and ILIAS\LegalDocuments\Value\DocumentContent\value().
Referenced by ILIAS\LegalDocuments\test\ConsumerToolbox\BlocksTest\testUserManagementAgreeDateField().
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::userStore | ( | ilObjUser | $user | ) |
Definition at line 107 of file Blocks.php.
ILIAS\LegalDocuments\ConsumerToolbox\Blocks::withRequest | ( | Form | $form, |
Closure | $then | ||
) |
Closure(array) | void $then |
Definition at line 176 of file Blocks.php.
References $data, ILIAS\UI\Component\Input\Container\Container\getData(), and ILIAS\UI\Component\Input\Container\Container\withRequest().
|
private |
Definition at line 51 of file Blocks.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Blocks\formatDate().
|
private |
Definition at line 53 of file Blocks.php.