| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
User privacy settings (currently located under "Profile and Privacy") More...
 Collaboration diagram for ilUserPrivacySettingsGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| workWithUserSetting (string $setting) | |
| userSettingVisible (string $setting) | |
| showPrivacySettings (\ILIAS\UI\Component\Input\Container\Form\Standard $form=null) | |
| initPrivacySettingsForm () | |
| Init form.  More... | |
| shouldDisplayChatSection () | |
| shouldDisplayNotificationSection () | |
| savePrivacySettings () | |
Protected Member Functions | |
| isAwarnessSettingVisible () | |
| Is awareness tool setting visible.  More... | |
| isContactSettingVisible () | |
| Is contact setting visible.  More... | |
| populateWithAwarenessSettingsSection (array &$formSections) | |
| populateWithContactsSettingsSection (array &$formSections) | |
| populateWithNotificationSettingsSection (array &$formSections) | |
| populateWithChatSettingsSection (array &$formSections) | |
| appendChatJsToTemplate (ilGlobalTemplateInterface $pageTemplate) | |
Protected Attributes | |
| ilLanguage | $lng | 
| ilCtrl | $ctrl | 
| ilGlobalTemplateInterface | $main_tpl | 
| ilUserSettingsConfig | $user_settings_config | 
| ilObjUser | $user | 
| ilSetting | $settings | 
| Psr Http Message RequestInterface | $request | 
| ilProfileChecklistStatus | $checklist_status | 
| ilPersonalProfileMode | $profile_mode | 
| ilSetting | $chatSettings | 
| ilSetting | $notificationSettings | 
| ilAppEventHandler | $event | 
Private Member Functions | |
| shouldShowOnScreenChatOptions () | |
| shouldShowChatTypingBroadcastOption () | |
| shouldShowNotificationOptions () | |
Private Attributes | |
| const | PROP_ENABLE_OSC = 'chat_osc_accept_msg' | 
| const | PROP_ENABLE_BROWSER_NOTIFICATIONS = 'chat_osc_browser_notifications' | 
| const | PROP_ENABLE_SOUND = 'osd_play_sound' | 
| const | PROP_ENABLE_BROADCAST_TYPING = 'chat_broadcast_typing' | 
| ILIAS UI Factory | $uiFactory | 
| ILIAS UI Renderer | $uiRenderer | 
| ILIAS Refinery Factory | $refinery | 
User privacy settings (currently located under "Profile and Privacy")
Definition at line 25 of file class.ilUserPrivacySettingsGUI.php.
| ilUserPrivacySettingsGUI::__construct | ( | ) | 
Definition at line 48 of file class.ilUserPrivacySettingsGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 495 of file class.ilUserPrivacySettingsGUI.php.
References ilGlobalTemplateInterface\addJavaScript(), ilUtil\getImagePath(), ILIAS\Repository\lng(), and shouldShowOnScreenChatOptions().
Referenced by showPrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::executeCommand | ( | ) | 
Definition at line 72 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:| ilUserPrivacySettingsGUI::initPrivacySettingsForm | ( | ) | 
Init form.
Definition at line 160 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\ctrl(), populateWithAwarenessSettingsSection(), populateWithChatSettingsSection(), populateWithContactsSettingsSection(), populateWithNotificationSettingsSection(), and ILIAS\Repository\refinery().
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 142 of file class.ilUserPrivacySettingsGUI.php.
References userSettingVisible().
Referenced by populateWithAwarenessSettingsSection(), savePrivacySettings(), and showPrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Is contact setting visible.
Definition at line 152 of file class.ilUserPrivacySettingsGUI.php.
References ilBuddySystem\getInstance(), and userSettingVisible().
Referenced by populateWithContactsSettingsSection(), savePrivacySettings(), and showPrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 210 of file class.ilUserPrivacySettingsGUI.php.
References isAwarnessSettingVisible(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by initPrivacySettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 299 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), shouldDisplayChatSection(), shouldShowChatTypingBroadcastOption(), shouldShowOnScreenChatOptions(), ILIAS\Repository\user(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ilUtil\yn2tf().
Referenced by initPrivacySettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 249 of file class.ilUserPrivacySettingsGUI.php.
References isContactSettingVisible(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by initPrivacySettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| Section[] | $formSections | 
Definition at line 276 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\lng(), shouldDisplayNotificationSection(), shouldShowNotificationOptions(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by initPrivacySettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::savePrivacySettings | ( | ) | 
Definition at line 384 of file class.ilUserPrivacySettingsGUI.php.
References $ctrl, $lng, $request, $user, initPrivacySettingsForm(), ILIAS\Repository\int(), isAwarnessSettingVisible(), isContactSettingVisible(), ilCtrl\redirect(), ilObjUser\setPref(), ILIAS\Repository\settings(), shouldDisplayChatSection(), shouldDisplayNotificationSection(), shouldShowChatTypingBroadcastOption(), shouldShowNotificationOptions(), shouldShowOnScreenChatOptions(), showPrivacySettings(), ilProfileChecklistStatus\STEP_VISIBILITY_OPTIONS, ilUtil\tf2yn(), ilLanguage\txt(), ilObjUser\update(), ILIAS\Repository\user(), workWithUserSetting(), and ilUtil\yn2tf().
 Here is the call graph for this function:| ilUserPrivacySettingsGUI::shouldDisplayChatSection | ( | ) | 
Definition at line 195 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithChatSettingsSection(), savePrivacySettings(), and showPrivacySettings().
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::shouldDisplayNotificationSection | ( | ) | 
Definition at line 205 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithNotificationSettingsSection(), and savePrivacySettings().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 188 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\settings().
Referenced by populateWithChatSettingsSection(), and savePrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 200 of file class.ilUserPrivacySettingsGUI.php.
Referenced by populateWithNotificationSettingsSection(), and savePrivacySettings().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 180 of file class.ilUserPrivacySettingsGUI.php.
References ILIAS\Repository\settings().
Referenced by appendChatJsToTemplate(), populateWithChatSettingsSection(), and savePrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::showPrivacySettings | ( | \ILIAS\UI\Component\Input\Container\Form\Standard | $form = null | ) | 
Definition at line 102 of file class.ilUserPrivacySettingsGUI.php.
References $lng, $main_tpl, $user, appendChatJsToTemplate(), ilObject\getId(), initPrivacySettingsForm(), isAwarnessSettingVisible(), isContactSettingVisible(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), shouldDisplayChatSection(), and ilLanguage\txt().
Referenced by savePrivacySettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::userSettingVisible | ( | string | $setting | ) | 
Definition at line 97 of file class.ilUserPrivacySettingsGUI.php.
Referenced by isAwarnessSettingVisible(), and isContactSettingVisible().
 Here is the caller graph for this function:| ilUserPrivacySettingsGUI::workWithUserSetting | ( | string | $setting | ) | 
Definition at line 92 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 44 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 39 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
      
  | 
  protected | 
Definition at line 46 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings(), and showPrivacySettings().
      
  | 
  protected | 
Definition at line 34 of file class.ilUserPrivacySettingsGUI.php.
Referenced by showPrivacySettings().
      
  | 
  protected | 
Definition at line 45 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 43 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings().
      
  | 
  protected | 
Definition at line 37 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 41 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 42 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilUserPrivacySettingsGUI.php.
Referenced by savePrivacySettings(), and showPrivacySettings().
      
  | 
  protected | 
Definition at line 35 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 30 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 28 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 27 of file class.ilUserPrivacySettingsGUI.php.
      
  | 
  private | 
Definition at line 29 of file class.ilUserPrivacySettingsGUI.php.