| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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 | |
| buildInfoText () | |
| emailChanged () | |
| emailCompletionForced () | |
| addEmailChangeModal () | |
| loginChanged () | |
| updateLoginOrSetErrorMessages () | |
| savePersonalDataForm () | |
| tempStorePicture () | |
GUI class for personal profile.
Definition at line 44 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__showOtherInformations | ( | ) | 
Definition at line 393 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
 Here is the call graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) | 
Definition at line 403 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 620 of file class.ilPersonalProfileGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilRegistrationSettings\IL_REG_ACTIVATION, ILIAS\Repository\lng(), ILIAS\Repository\settings(), 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 302 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:
      
  | 
  private | 
Definition at line 490 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by showPersonalData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::changeEmail | ( | ) | 
Definition at line 788 of file class.ilPersonalProfileGUI.php.
References $token, $user, ilRegistrationSettings\IL_REG_ACTIVATION, ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), send(), ILIAS\Repository\settings(), showPublicProfile(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::downloadPersonalData | ( | ) | 
Download personal data export file.
Definition at line 1225 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 595 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 606 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 136 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ilPublicUserProfileGUI\setBackUrl(), setHeader(), setTabs(), showChecklist(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::exportPersonalData | ( | ) | 
Definition at line 1215 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 1151 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 843 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 685 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 1274 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 1230 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 529 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 1241 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 851 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 647 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 284 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::savePersonalData | ( | ) | 
Definition at line 570 of file class.ilPersonalProfileGUI.php.
References addEmailChangeModal(), ILIAS\Repository\ctrl(), emailChanged(), emailCompletionForced(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), loginChanged(), savePersonalDataForm(), showPersonalData(), tempStorePicture(), and updateLoginOrSetErrorMessages().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 709 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 1071 of file class.ilPersonalProfileGUI.php.
References $handler, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilSession\get(), getCheckedValues(), ilBadgeHandler\getInstance(), initPublicProfileForm(), ILIAS\Repository\lng(), ilUtil\redirect(), ilSession\set(), ilLuceneIndexer\updateLuceneIndex(), ilBadgeAssignment\updatePositions(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPersonalProfileGUI::setHeader | ( | ) | 
Definition at line 457 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 356 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 1296 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 1182 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 462 of file class.ilPersonalProfileGUI.php.
References buildInfoText(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), setHeader(), showChecklist(), 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 294 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 828 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), initPublicProfileForm(), setHeader(), showChecklist(), 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 913 of file class.ilPersonalProfileGUI.php.
References $handler, 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 1302 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 658 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 191 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 186 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::userSettingVisible | ( | string | $setting | ) | 
Definition at line 181 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 176 of file class.ilPersonalProfileGUI.php.
Referenced by uploadUserPicture().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 55 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 69 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 63 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 65 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 58 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 78 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 62 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 51 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 52 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 61 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 75 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 57 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 73 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 71 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 70 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 53 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 76 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 56 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 59 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 60 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 49 of file class.ilPersonalProfileGUI.php.
Referenced by showChecklist().
      
  | 
  private | 
Definition at line 66 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 67 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 74 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 54 of file class.ilPersonalProfileGUI.php.
Referenced by changeEmail().
      
  | 
  private | 
Definition at line 50 of file class.ilPersonalProfileGUI.php.
      
  | 
  private | 
Definition at line 64 of file class.ilPersonalProfileGUI.php.
| const ilPersonalProfileGUI::CHANGE_EMAIL_CMD = 'changeEmail' | 
Definition at line 47 of file class.ilPersonalProfileGUI.php.
Referenced by ILIAS\User\StaticURLHandler\buildChangeEmailUrl().
      
  | 
  private | 
Definition at line 46 of file class.ilPersonalProfileGUI.php.