ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
getIdentifier () | |
isAvailable () | |
If this function returns false the setting will not be shown, even if it's PropertyAttributes would allow it to be. More... | |
getLabel (Language $lng) | |
getSettingsPage () | |
getSection () | |
getInput (FieldFactory $field_factory, Language $lng, Refinery $refinery, \ilSetting $settings, ?\ilObjUser $user=null) | |
getLegacyInput (Language $lng, \ilSetting $settings, ?\ilObjUser $user=null) | |
You don't need to add a post_var to the input as the User will handle this for you, thus you can also not rely on the post_var anywhere else, as it will be changed. More... | |
getDefaultValueForDisplay (Language $lng, \ilSetting $settings) | |
hasUserPersonalizedSetting (\ilSetting $settings, \ilObjUser $user) | |
persistUserInput (\ilObjUser $user, mixed $input, ?\ilPropertyFormGUI $form=null) | |
retrieveValueFromUser (\ilObjUser $user) | |
![]() | |
isAvailable () | |
If this function returns false the setting will not be shown, even if it's PropertyAttributes would allow it to be. More... | |
getSettingsPage () | |
getDefaultValueForDisplay (Language $lng, \ilSetting $settings) | |
hasUserPersonalizedSetting (\ilSetting $settings, \ilObjUser $user) | |
getInput (FieldFactory $field_factory, Language $lng, Refinery $refinery, \ilSetting $settings, ?\ilObjUser $user=null) | |
getLegacyInput (Language $lng, \ilSetting $settings, ?\ilObjUser $user=null) | |
You don't need to add a post_var to the input as the User will handle this for you, thus you can also not rely on the post_var anywhere else, as it will be changed. More... | |
persistUserInput (\ilObjUser $user, mixed $input) | |
getIdentifier () | |
getLabel (Language $lng) | |
getSection () | |
retrieveValueFromUser (\ilObjUser $user) | |
Private Member Functions | |
mailOptionsFor (\ilObjUser $user) | |
Private Attributes | |
array | $mail_options_by_user = [] |
Definition at line 31 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getDefaultValueForDisplay | ( | Language | $lng, |
\ilSetting | $settings | ||
) |
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 99 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getIdentifier | ( | ) |
Implements ILIAS\User\Property.
Definition at line 36 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getInput | ( | FieldFactory | $field_factory, |
Language | $lng, | ||
Refinery | $refinery, | ||
\ilSetting | $settings, | ||
?\ilObjUser | $user = null |
||
) |
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 65 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getLabel | ( | Language | $lng | ) |
Implements ILIAS\User\Property.
Definition at line 50 of file NewMailNotification.php.
References $lng.
ILIAS\Mail\UserSettings\NewMailNotification::getLegacyInput | ( | Language | $lng, |
\ilSetting | $settings, | ||
?\ilObjUser | $user = null |
||
) |
You don't need to add a post_var to the input as the User will handle this for you, thus you can also not rely on the post_var anywhere else, as it will be changed.
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 82 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getSection | ( | ) |
Implements ILIAS\User\Property.
Definition at line 60 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::getSettingsPage | ( | ) |
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 55 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::hasUserPersonalizedSetting | ( | \ilSetting | $settings, |
\ilObjUser | $user | ||
) |
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 106 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::isAvailable | ( | ) |
If this function returns false
the setting will not be shown, even if it's PropertyAttributes
would allow it to be.
This is meant e.g. to check if the chat server is configured or the badges enabled. Settings that are not available will also not be available on the table to define their PropertyAttributes
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 41 of file NewMailNotification.php.
|
private |
Definition at line 131 of file NewMailNotification.php.
References ilObject\getId().
ILIAS\Mail\UserSettings\NewMailNotification::persistUserInput | ( | \ilObjUser | $user, |
mixed | $input, | ||
?\ilPropertyFormGUI | $form = null |
||
) |
Definition at line 114 of file NewMailNotification.php.
ILIAS\Mail\UserSettings\NewMailNotification::retrieveValueFromUser | ( | \ilObjUser | $user | ) |
Implements ILIAS\User\Property.
Definition at line 126 of file NewMailNotification.php.
|
private |
Definition at line 34 of file NewMailNotification.php.