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) | |
getDefaultValueForDisplay (Language $lng, ilSetting $settings) | |
hasUserPersonalizedSetting (ilSetting $settings, ilObjUser $user) | |
persistUserInput (ilObjUser $user, mixed $input) | |
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) | |
Definition at line 39 of file PushNotification.php.
ILIAS\Notifications\UserSettings\PushNotification::getDefaultValueForDisplay | ( | Language | $lng, |
ilSetting | $settings | ||
) |
Definition at line 98 of file PushNotification.php.
References $lng.
ILIAS\Notifications\UserSettings\PushNotification::getIdentifier | ( | ) |
Implements ILIAS\User\Property.
Definition at line 41 of file PushNotification.php.
Referenced by ILIAS\Notifications\UserSettings\PushNotification\getLabel().
ILIAS\Notifications\UserSettings\PushNotification::getInput | ( | FieldFactory | $field_factory, |
Language | $lng, | ||
Refinery | $refinery, | ||
ilSetting | $settings, | ||
?ilObjUser | $user = null |
||
) |
Definition at line 67 of file PushNotification.php.
ILIAS\Notifications\UserSettings\PushNotification::getLabel | ( | Language | $lng | ) |
Definition at line 51 of file PushNotification.php.
References $lng, and ILIAS\Notifications\UserSettings\PushNotification\getIdentifier().
ILIAS\Notifications\UserSettings\PushNotification::getLegacyInput | ( | Language | $lng, |
ilSetting | $settings, | ||
?ilObjUser | $user = null |
||
) |
Definition at line 93 of file PushNotification.php.
ILIAS\Notifications\UserSettings\PushNotification::getSection | ( | ) |
Implements ILIAS\User\Property.
Definition at line 62 of file PushNotification.php.
ILIAS\Notifications\UserSettings\PushNotification::getSettingsPage | ( | ) |
Implements ILIAS\User\Settings\SettingDefinition.
Definition at line 57 of file PushNotification.php.
ILIAS\Notifications\UserSettings\PushNotification::hasUserPersonalizedSetting | ( | ilSetting | $settings, |
ilObjUser | $user | ||
) |
Definition at line 103 of file PushNotification.php.
References ilObjUser\getPref().
ILIAS\Notifications\UserSettings\PushNotification::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 46 of file PushNotification.php.
References ILIAS\Setup\Artifact\BuildArtifactObjective\PATH().
ILIAS\Notifications\UserSettings\PushNotification::persistUserInput | ( | ilObjUser | $user, |
mixed | $input | ||
) |
Definition at line 108 of file PushNotification.php.
References ilObjUser\setPref(), and ilObjUser\update().
ILIAS\Notifications\UserSettings\PushNotification::retrieveValueFromUser | ( | ilObjUser | $user | ) |
Definition at line 121 of file PushNotification.php.
References ilObjUser\getPref().