|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 \ilGlobalTemplateInterface $tpl, 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 (\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 (\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 ConfigurationRepository | $user_settings_configuration_repository, | ||
| private readonly DataRepository | $user_settings_data_repository | ||
| ) |
Definition at line 30 of file SettingsImplementation.php.
|
private |
Definition at line 298 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 282 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 90 of file SettingsImplementation.php.
|
private |
Definition at line 265 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::buildFormInputs | ( | array | $pages, |
| Context | $context, | ||
| ?\ilObjUser | $user | ||
| ) |
| array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 44 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 236 of file SettingsImplementation.php.
References $c.
|
private |
Definition at line 334 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 369 of file SettingsImplementation.php.
References ilPropertyFormGUI\getInput(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 341 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::getExportableSettings | ( | ) |
| ILIAS\User\Settings\SettingsImplementation::getSettingByDefinitionClass | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 151 of file SettingsImplementation.php.
|
private |
| array<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 195 of file SettingsImplementation.php.
References $c.
| ILIAS\User\Settings\SettingsImplementation::getSettingValueFor | ( | int | $user_id, |
| string | $key | ||
| ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 178 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 161 of file SettingsImplementation.php.
| ILIAS\User\Settings\SettingsImplementation::performAdditionalChecks | ( | \ilPropertyFormGUI | $form | ) |
Definition at line 107 of file SettingsImplementation.php.
|
private |
Definition at line 219 of file SettingsImplementation.php.
|
private |
Definition at line 353 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<ILIAS |
User\Settings\AvailablePages> $pages
Definition at line 119 of file SettingsImplementation.php.
References $context.
| ILIAS\User\Settings\SettingsImplementation::settingAvailableToUser | ( | string | $definition_class | ) |
Implements ILIAS\User\Settings\Settings.
Definition at line 170 of file SettingsImplementation.php.