| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
GUI class for personal profile. More...
 Collaboration diagram for ilPersonalProfileGUI:Public Member Functions | |
| executeCommand () | |
| workWithUserSetting (string $setting) | |
| userSettingVisible (string $setting) | |
| userSettingEnabled (string $setting) | |
| uploadUserPicture () | |
| removeUserPicture () | |
| showProfile () | |
| show profile form  More... | |
| addLocationToForm (ilPropertyFormGUI $a_form, ilObjUser $a_user) | |
| Add location fields to form if activated.  More... | |
| setTabs () | |
| __showOtherInformations () | |
| __showUserDefinedFields () | |
| setHeader () | |
| showPersonalData (bool $a_no_init=false) | |
| initPersonalDataForm () | |
| savePersonalData () | |
| goToEmailConfirmation () | |
| changeEmail () | |
| showPublicProfile (bool $a_no_init=false) | |
| initPublicProfileForm () | |
| showPublicProfileFields (ilPropertyFormGUI $form, array $prefs, ?object $parent=null, bool $anonymized=false, string $key_suffix='') | |
| savePublicProfile () | |
| showExportImport () | |
| exportPersonalData () | |
| downloadPersonalData () | |
| Download personal data export file.  More... | |
| importPersonalDataSelection () | |
| initPersonalDataImportForm () | |
| importPersonalData () | |
Data Fields | |
| const | CHANGE_EMAIL_CMD = 'changeEmail' | 
Protected Member Functions | |
| getProfilePortfolio () | |
| getCheckedValues () | |
| showChecklist (int $active_step) | |
Private Member Functions | |
| emailChanged () | |
| emailCompletionForced () | |
| addEmailChangeModal () | |
| loginChanged () | |
| updateLoginOrSetErrorMessages () | |
| savePersonalDataForm () | |
| tempStorePicture () | |
GUI class for personal profile.
Definition at line 37 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__showOtherInformations | ( | ) | 
Definition at line 379 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
 Here is the call graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) | 
Definition at line 389 of file class.ilPersonalProfileGUI.php.
References ilLegacyFormElementsUtil\formSelect(), ilLegacyFormElementsUtil\prepareFormOutput(), UDF_TYPE_TEXT, and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 591 of file class.ilPersonalProfileGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ILIAS\UI\Implementation\Component\withAdditionalOnLoadCode().
Referenced by savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::addLocationToForm | ( | ilPropertyFormGUI | $a_form, | 
| ilObjUser | $a_user | ||
| ) | 
Add location fields to form if activated.
Definition at line 288 of file class.ilPersonalProfileGUI.php.
References ilPropertyFormGUI\addItem(), ilObjUser\getCity(), ilObjUser\getCountry(), ilMapUtil\getDefaultSettings(), ilObjUser\getLatitude(), ilObjUser\getLocationZoom(), ilObjUser\getLongitude(), ilObjUser\getStreet(), ILIAS\Repository\int(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), and ilLocationInputGUI\setLatitude().
Referenced by initPersonalDataForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::changeEmail | ( | ) | 
Definition at line 747 of file class.ilPersonalProfileGUI.php.
References $token, ILIAS\Repository\lng(), showPublicProfile(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::downloadPersonalData | ( | ) | 
Download personal data export file.
Definition at line 1165 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 566 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), and ILIAS\Repository\user().
Referenced by savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 577 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by savePersonalData(), and savePersonalDataForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::executeCommand | ( | ) | 
Definition at line 122 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ilPublicUserProfileGUI\setBackUrl(), setHeader(), setTabs(), showChecklist(), ilProfileChecklistStatus\STEP_VISIBILITY_OPTIONS, ILIAS\Repository\tabs(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::exportPersonalData | ( | ) | 
Definition at line 1155 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1091 of file class.ilPersonalProfileGUI.php.
References $post, and ILIAS\Repository\form().
Referenced by savePublicProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 783 of file class.ilPersonalProfileGUI.php.
References ilObjPortfolio\getDefaultPortfolio(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by initPublicProfileForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::goToEmailConfirmation | ( | ) | 
Definition at line 650 of file class.ilPersonalProfileGUI.php.
References $token, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initPersonalDataForm(), loginChanged(), savePersonalDataForm(), ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), showPersonalData(), updateLoginOrSetErrorMessages(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalData | ( | ) | 
Definition at line 1214 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initPersonalDataImportForm(), ILIAS\Repository\lng(), setHeader(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalDataSelection | ( | ) | 
Definition at line 1170 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), initPersonalDataImportForm(), setHeader(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:| ilPersonalProfileGUI::initPersonalDataForm | ( | ) | 
Definition at line 499 of file class.ilPersonalProfileGUI.php.
References addLocationToForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilCustomUserFieldsHelper\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), savePersonalData(), and showPersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::initPersonalDataImportForm | ( | ) | 
Definition at line 1181 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by importPersonalData(), and importPersonalDataSelection().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::initPublicProfileForm | ( | ) | 
Definition at line 791 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getProfilePortfolio(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ILIAS\Repository\settings(), showPublicProfileFields(), and ILIAS\Repository\user().
Referenced by savePublicProfile(), and showPublicProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 612 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::removeUserPicture | ( | ) | 
Definition at line 270 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::savePersonalData | ( | ) | 
Definition at line 541 of file class.ilPersonalProfileGUI.php.
References addEmailChangeModal(), ILIAS\Repository\ctrl(), emailChanged(), emailCompletionForced(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), loginChanged(), savePersonalDataForm(), showPersonalData(), ilProfileChecklistStatus\STEP_PROFILE_DATA, tempStorePicture(), and updateLoginOrSetErrorMessages().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 668 of file class.ilPersonalProfileGUI.php.
References Vendor\Package\$f, $location, emailCompletionForced(), ILIAS\Repository\form(), IL_CAL_DATE, ilMapUtil\isActivated(), uploadUserPicture(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::savePublicProfile | ( | ) | 
Definition at line 1011 of file class.ilPersonalProfileGUI.php.
References $handler, ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilSession\get(), getCheckedValues(), ilBadgeHandler\getInstance(), initPublicProfileForm(), ILIAS\Repository\lng(), ilUtil\redirect(), ilSession\set(), ilProfileChecklistStatus\STEP_PUBLISH_OPTIONS, ilLuceneIndexer\updateLuceneIndex(), ilBadgeAssignment\updatePositions(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::setHeader | ( | ) | 
Definition at line 443 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\lng().
Referenced by executeCommand(), importPersonalData(), importPersonalDataSelection(), showExportImport(), showPersonalData(), and showPublicProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::setTabs | ( | ) | 
Definition at line 342 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1236 of file class.ilPersonalProfileGUI.php.
References $tpl, and ilGlobalTemplateInterface\setRightContent().
Referenced by executeCommand(), showPersonalData(), and showPublicProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showExportImport | ( | ) | 
Definition at line 1122 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setHeader(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::showPersonalData | ( | bool | $a_no_init = false | ) | 
Definition at line 448 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), setHeader(), showChecklist(), ilProfileChecklistStatus\STEP_PROFILE_DATA, ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), savePersonalData(), and showProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showProfile | ( | ) | 
show profile form
/OLD IMPLEMENTATION DEPRECATED
Definition at line 280 of file class.ilPersonalProfileGUI.php.
References showPersonalData().
 Here is the call graph for this function:| ilPersonalProfileGUI::showPublicProfile | ( | bool | $a_no_init = false | ) | 
Definition at line 768 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), initPublicProfileForm(), setHeader(), showChecklist(), ilProfileChecklistStatus\STEP_PUBLISH_OPTIONS, and ILIAS\Repository\tabs().
Referenced by changeEmail().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showPublicProfileFields | ( | ilPropertyFormGUI | $form, | 
| array | $prefs, | ||
| ?object | $parent = null,  | 
        ||
| bool | $anonymized = false,  | 
        ||
| string | $key_suffix = ''  | 
        ||
| ) | 
Definition at line 853 of file class.ilPersonalProfileGUI.php.
References $handler, ILIAS\LTI\ToolProvider\$key, ilObjUser\_getPersonalPicturePath(), ilPropertyFormGUI\addItem(), ilDatePresentation\formatDate(), ilBadgeHandler\getInstance(), ilBadgeAssignment\getInstancesByUserId(), IL_CAL_DATE, ILIAS\Repository\int(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), ILIAS\Repository\user(), and userSettingVisible().
Referenced by initPublicProfileForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 1242 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form().
Referenced by savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 623 of file class.ilPersonalProfileGUI.php.
References Vendor\Package\$e, ilObjUser\_loginExists(), ILIAS\Repository\form(), ilUtil\isLogin(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) | 
Definition at line 177 of file class.ilPersonalProfileGUI.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), ILIAS\Repository\user(), and workWithUserSetting().
Referenced by savePersonalDataForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::userSettingEnabled | ( | string | $setting | ) | 
Definition at line 172 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::userSettingVisible | ( | string | $setting | ) | 
Definition at line 167 of file class.ilPersonalProfileGUI.php.
Referenced by __showOtherInformations(), and showPublicProfileFields().
 Here is the caller graph for this function:| ilPersonalProfileGUI::workWithUserSetting | ( | string | $setting | ) | 
Definition at line 162 of file class.ilPersonalProfileGUI.php.
Referenced by uploadUserPicture().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 50 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 64 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 58 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 60 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 53 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 71 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 57 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 44 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 45 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 56 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 68 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 52 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 46 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 65 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 48 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 69 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 54 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 55 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 42 of file class.ilPersonalProfileGUI.php.
Referenced by showChecklist().
      
  | 
  private | 
Definition at line 61 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 62 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 47 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 67 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 49 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 43 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 59 of file class.ilPersonalProfileGUI.php.
| const ilPersonalProfileGUI::CHANGE_EMAIL_CMD = 'changeEmail' | 
Definition at line 40 of file class.ilPersonalProfileGUI.php.
Referenced by ilObjUserGUI\__sendProfileMail().
      
  | 
  private | 
Definition at line 39 of file class.ilPersonalProfileGUI.php.