|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
User privacy settings (currently located under "Profile and Privacy") More...
Collaboration diagram for ilUserPrivacySettingsGUI:Public Member Functions | |
| __construct () | |
| constructor More... | |
| executeCommand () | |
| execute command More... | |
| workWithUserSetting (string $setting) | |
| userSettingVisible (string $setting) | |
| showPrivacySettings ($form=null) | |
| General settings form. More... | |
| initPrivacySettingsForm () | |
| Init form. More... | |
| shouldDisplayChatSection () | |
| savePrivacySettings () | |
| Save privacy settings. More... | |
Data Fields | |
| const | PROP_ENABLE_OSC = 'chat_osc_accept_msg' |
| const | PROP_ENABLE_BROWSER_NOTIFICATIONS = 'chat_osc_browser_notifications' |
| const | PROP_ENABLE_SOUND = 'play_invitation_sound' |
Protected Member Functions | |
| isAwarnessSettingVisible () | |
| Is awareness tool setting visible. More... | |
| isContactSettingVisible () | |
| Is contact setting visible. More... | |
| populateWithAwarenessSettingsSection (array &$formSections) | |
| populateWithContactsSettingsSection (array &$formSections) | |
| populateWithChatSettingsSection (array &$formSections) | |
| appendChatJsToTemplate (ilGlobalPageTemplate $pageTemplate) | |
Protected Attributes | |
| $lng | |
| $ctrl | |
| $main_tpl | |
| $user_settings_config | |
| $user | |
| $settings | |
| $request | |
| $checklist_status | |
| $profile_mode | |
| $chatSettings = array() | |
| $notificationSettings = array() | |
| $event | |
Private Member Functions | |
| shouldShowNotificationOptions () | |
| shouldShowOnScreenChatOptions () | |
Private Attributes | |
| $uiFactory | |
| $uiRenderer | |
| $refinery | |
User privacy settings (currently located under "Profile and Privacy")
Definition at line 9 of file class.ilUserPrivacySettingsGUI.php.
| ilUserPrivacySettingsGUI::__construct | ( | ) |
constructor
Definition at line 81 of file class.ilUserPrivacySettingsGUI.php.
References $DIC, settings(), and user().
Here is the call graph for this function:
|
protected |
| ilGlobalPageTemplate | $main_tpl |
Definition at line 525 of file class.ilUserPrivacySettingsGUI.php.
References $tpl, ilUtil\getImagePath(), and shouldShowOnScreenChatOptions().
Referenced by showPrivacySettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPrivacySettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 108 of file class.ilUserPrivacySettingsGUI.php.
| ilUserPrivacySettingsGUI::initPrivacySettingsForm | ( | ) |
Init form.
Definition at line 217 of file class.ilUserPrivacySettingsGUI.php.
References populateWithAwarenessSettingsSection(), populateWithChatSettingsSection(), and populateWithContactsSettingsSection().
Referenced by savePrivacySettings(), and showPrivacySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Is awareness tool setting visible.
Definition at line 192 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithAwarenessSettingsSection(), and savePrivacySettings().
Here is the caller graph for this function:
|
protected |
Is contact setting visible.
Definition at line 205 of file class.ilUserPrivacySettingsGUI.php.
References ilBuddySystem\getInstance(), and userSettingVisible().
Referenced by populateWithContactsSettingsSection(), and savePrivacySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $formSections |
Definition at line 273 of file class.ilUserPrivacySettingsGUI.php.
References isAwarnessSettingVisible(), settings(), and user().
Referenced by initPrivacySettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $formSections |
Definition at line 338 of file class.ilUserPrivacySettingsGUI.php.
References PROP_ENABLE_BROWSER_NOTIFICATIONS, PROP_ENABLE_OSC, PROP_ENABLE_SOUND, settings(), shouldDisplayChatSection(), shouldShowNotificationOptions(), shouldShowOnScreenChatOptions(), true, user(), and ilUtil\yn2tf().
Referenced by initPrivacySettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $formSections |
Definition at line 314 of file class.ilUserPrivacySettingsGUI.php.
References isContactSettingVisible(), settings(), and user().
Referenced by initPrivacySettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPrivacySettingsGUI::savePrivacySettings | ( | ) |
Save privacy settings.
Definition at line 420 of file class.ilUserPrivacySettingsGUI.php.
References $ctrl, $lng, $request, $user, initPrivacySettingsForm(), isAwarnessSettingVisible(), isContactSettingVisible(), PROP_ENABLE_OSC, settings(), shouldDisplayChatSection(), shouldShowNotificationOptions(), shouldShowOnScreenChatOptions(), showPrivacySettings(), ilProfileChecklistStatus\STEP_VISIBILITY_OPTIONS, ilUtil\tf2yn(), user(), workWithUserSetting(), and ilUtil\yn2tf().
Here is the call graph for this function:| ilUserPrivacySettingsGUI::shouldDisplayChatSection | ( | ) |
Definition at line 239 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection(), and savePrivacySettings().
Here is the caller graph for this function:
|
private |
Definition at line 251 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection(), and savePrivacySettings().
Here is the caller graph for this function:
|
private |
Definition at line 262 of file class.ilUserPrivacySettingsGUI.php.
Referenced by appendChatJsToTemplate(), populateWithChatSettingsSection(), and savePrivacySettings().
Here is the caller graph for this function:| ilUserPrivacySettingsGUI::showPrivacySettings | ( | $form = null | ) |
General settings form.
| null | $form |
Definition at line 150 of file class.ilUserPrivacySettingsGUI.php.
References $lng, $main_tpl, $user, appendChatJsToTemplate(), and initPrivacySettingsForm().
Referenced by savePrivacySettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserPrivacySettingsGUI::userSettingVisible | ( | string | $setting | ) |
| string | $setting |
Definition at line 141 of file class.ilUserPrivacySettingsGUI.php.
Referenced by isContactSettingVisible().
Here is the caller graph for this function:| ilUserPrivacySettingsGUI::workWithUserSetting | ( | string | $setting | ) |
| string | $setting |
Definition at line 132 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
Here is the caller graph for this function:
|
protected |
Definition at line 70 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 53 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 23 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
|
protected |
Definition at line 76 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 18 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings(), and showPrivacySettings().
|
protected |
Definition at line 28 of file class.ilUserPrivacySettingsGUI.php.
Referenced by showPrivacySettings().
|
protected |
Definition at line 73 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 58 of file class.ilUserPrivacySettingsGUI.php.
|
private |
Definition at line 67 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
|
protected |
Definition at line 43 of file class.ilUserPrivacySettingsGUI.php.
|
private |
Definition at line 61 of file class.ilUserPrivacySettingsGUI.php.
|
private |
Definition at line 64 of file class.ilUserPrivacySettingsGUI.php.
|
protected |
Definition at line 38 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings(), and showPrivacySettings().
|
protected |
Definition at line 33 of file class.ilUserPrivacySettingsGUI.php.
| const ilUserPrivacySettingsGUI::PROP_ENABLE_BROWSER_NOTIFICATIONS = 'chat_osc_browser_notifications' |
Definition at line 12 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection().
| const ilUserPrivacySettingsGUI::PROP_ENABLE_OSC = 'chat_osc_accept_msg' |
Definition at line 11 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection(), and savePrivacySettings().
| const ilUserPrivacySettingsGUI::PROP_ENABLE_SOUND = 'play_invitation_sound' |
Definition at line 13 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection().