ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (private readonly Language $lng, private readonly \ilSetting $settings, private readonly \ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly Refinery $refinery, private readonly Repository $user_settings_repository) | |
buildFormInputs (array $pages, Context $context, ?\ilObjUser $user) | |
addSectionsToLegacyForm (\ilPropertyFormGUI $form, array $pages, Context $context, ?\ilObjUser $user) | |
performAdditionalChecks (\ilPropertyFormGUI $form) | |
saveForm (\ilPropertyFormGUI|array $form, array $pages, Context $context, \ilObjUser $user) | |
If it is possible to set the preference on the user, this is what will be done, the user needs to be updated/stored after calling this function. More... | |
getSettingByDefinitionClass (string $definition_class) | |
getValueFromLegacyFormByDefinitionClass (string $definition_class, \ilPropertyFormGUI $form) | |
settingAvailableToUser (string $definition_class) | |
getSettingByDefinitionClass (string $definition_class) | |
getValueFromLegacyFormByDefinitionClass (string $definition_class, \ilPropertyFormGUI $form) | |
settingAvailableToUser (string $definition_class) | |
Private Member Functions | |
getSettingsForPagesBySections (array $pages) | |
reorderSections (array $sections) | |
buildInputsForSection (array $settings, ?\ilObjUser $user) | |
addSectionToLegacyForm (\ilPropertyFormGUI $form, ?\ilObjUser $user, array $section) | |
addDefaultInputsToLegacyForm (\ilPropertyFormGUI $form, ?\ilObjUser $user, array $section) | |
addAdditionalInputsToLegacyForm (\ilPropertyFormGUI $form, ?\ilObjUser $user, array $section) | |
buildSectionKey (Setting $setting) | |
filterSettingsInSectionForAvailability (Context $context, array $settings) | |
retrieveValuefromInputs (\ilPropertyFormGUI|array $form, Setting $setting) | |
checkStartingPointValue (\ilPropertyFormGUI $form) | |
Definition at line 28 of file SettingsImplementation.php.
ILIAS\User\Settings\SettingsImplementation::__construct | ( | private readonly Language | $lng, |
private readonly \ilSetting | $settings, | ||
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly Refinery | $refinery, | ||
private readonly Repository | $user_settings_repository | ||
) |
Definition at line 30 of file SettingsImplementation.php.
|
private |
Definition at line 283 of file SettingsImplementation.php.
References $c, ILIAS\User\Settings\Setting\getIdentifier(), ILIAS\User\Settings\Setting\getLegacyInput(), ILIAS\User\Settings\Setting\hasUserPersonalizedSetting(), if, ILIAS\Repository\lng(), and ILIAS\Repository\settings().
|
private |
Definition at line 267 of file SettingsImplementation.php.
ILIAS\User\Settings\SettingsImplementation::addSectionsToLegacyForm | ( | \ilPropertyFormGUI | $form, |
array | $pages, | ||
Context | $context, | ||
?\ilObjUser | $user | ||
) |
array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 89 of file SettingsImplementation.php.
|
private |
Definition at line 250 of file SettingsImplementation.php.
ILIAS\User\Settings\SettingsImplementation::buildFormInputs | ( | array | $pages, |
Context | $context, | ||
?\ilObjUser | $user | ||
) |
array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 43 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 221 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 319 of file SettingsImplementation.php.
References ILIAS\User\Settings\Setting\getSection(), and ILIAS\User\Settings\Setting\getSettingsPage().
|
private |
Definition at line 354 of file SettingsImplementation.php.
References ilPropertyFormGUI\getInput(), and ILIAS\Repository\lng().
|
private |
Definition at line 326 of file SettingsImplementation.php.
ILIAS\User\Settings\SettingsImplementation::getSettingByDefinitionClass | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 150 of file SettingsImplementation.php.
|
private |
array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 180 of file SettingsImplementation.php.
References $c.
ILIAS\User\Settings\SettingsImplementation::getValueFromLegacyFormByDefinitionClass | ( | string | $definition_class, |
\ilPropertyFormGUI | $form | ||
) |
Implements ILIAS\User\Settings\Settings.
Definition at line 160 of file SettingsImplementation.php.
ILIAS\User\Settings\SettingsImplementation::performAdditionalChecks | ( | \ilPropertyFormGUI | $form | ) |
Definition at line 106 of file SettingsImplementation.php.
|
private |
Definition at line 204 of file SettingsImplementation.php.
|
private |
Definition at line 338 of file SettingsImplementation.php.
References ILIAS\User\Settings\Setting\getIdentifier().
ILIAS\User\Settings\SettingsImplementation::saveForm | ( | \ilPropertyFormGUI|array | $form, |
array | $pages, | ||
Context | $context, | ||
\ilObjUser | $user | ||
) |
If it is possible to set the preference on the user, this is what will be done, the user needs to be updated/stored after calling this function.
array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 118 of file SettingsImplementation.php.
References $context.
ILIAS\User\Settings\SettingsImplementation::settingAvailableToUser | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 169 of file SettingsImplementation.php.