|
ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
|
Inheritance diagram for ILIAS\User\Settings\SettingsImplementation:
Collaboration diagram for ILIAS\User\Settings\SettingsImplementation:Public Member Functions | |
| __construct (private readonly Language $lng, private readonly \ilSetting $settings, private readonly UIFactory $ui_factory, private readonly Refinery $refinery, private readonly ConfigurationRepository $user_settings_configuration_repository, private readonly DataRepository $user_settings_data_repository) | |
| buildFormInputs (array $pages, Context $context, ?\ilObjUser $user) | |
| addSectionsToLegacyForm (\ilPropertyFormGUI $form, array $pages, Context $context, ?\ilObjUser $user) | |
| performAdditionalChecks (\ilGlobalTemplateInterface $tpl, \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) | |
| getSettingValueFor (int $user_id, string $key) | |
| getExportableSettings () | |
| getSettingByDefinitionClass (string $definition_class) | |
| getValueFromLegacyFormByDefinitionClass (string $definition_class, \ilPropertyFormGUI $form) | |
| settingAvailableToUser (string $definition_class) | |
| getSettingValueFor (int $user_id, string $key) | |
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 (\ilGlobalTemplateInterface $tpl, \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 UIFactory | $ui_factory, | ||
| private readonly Refinery | $refinery, | ||
| private readonly ConfigurationRepository | $user_settings_configuration_repository, | ||
| private readonly DataRepository | $user_settings_data_repository | ||
| ) |
Definition at line 30 of file SettingsImplementation.php.
|
private |
Definition at line 305 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().
Here is the call graph for this function:
|
private |
Definition at line 289 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::addSectionsToLegacyForm | ( | \ilPropertyFormGUI | $form, |
| array | $pages, | ||
| Context | $context, | ||
| ?\ilObjUser | $user | ||
| ) |
| array<AvailablePages> | $pages |
Definition at line 90 of file SettingsImplementation.php.
|
private |
Definition at line 272 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::buildFormInputs | ( | array | $pages, |
| Context | $context, | ||
| ?\ilObjUser | $user | ||
| ) |
| array<AvailablePages> | $pages |
Definition at line 44 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 243 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 341 of file SettingsImplementation.php.
References ILIAS\User\Settings\Setting\getSection(), and ILIAS\User\Settings\Setting\getSettingsPage().
Here is the call graph for this function:
|
private |
Definition at line 376 of file SettingsImplementation.php.
|
private |
Definition at line 348 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::getExportableSettings | ( | ) |
Definition at line 190 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::getSettingByDefinitionClass | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 155 of file SettingsImplementation.php.
|
private |
| array<AvailablePages> | $pages |
Definition at line 202 of file SettingsImplementation.php.
References $c.
| ILIAS\User\Settings\SettingsImplementation::getSettingValueFor | ( | int | $user_id, |
| string | $key | ||
| ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 182 of file SettingsImplementation.php.
References $user_id.
| ILIAS\User\Settings\SettingsImplementation::getValueFromLegacyFormByDefinitionClass | ( | string | $definition_class, |
| \ilPropertyFormGUI | $form | ||
| ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 165 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::performAdditionalChecks | ( | \ilGlobalTemplateInterface | $tpl, |
| \ilPropertyFormGUI | $form | ||
| ) |
Definition at line 107 of file SettingsImplementation.php.
|
private |
Definition at line 226 of file SettingsImplementation.php.
|
private |
Definition at line 360 of file SettingsImplementation.php.
References ILIAS\User\Settings\Setting\getIdentifier().
Here is the call graph for this function:| 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<AvailablePages> | $pages |
Definition at line 123 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::settingAvailableToUser | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 174 of file SettingsImplementation.php.