| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
GUI class for personal profile. More...
 Collaboration diagram for ilPersonalProfileGUI:
 Collaboration diagram for ilPersonalProfileGUI:| Public Member Functions | |
| ilPersonalProfileGUI () | |
| constructor | |
| & | executeCommand () | 
| execute command | |
| workWithUserSetting ($setting) | |
| Returns TRUE if working with the given user setting is allowed, FALSE otherwise. | |
| userSettingVisible ($setting) | |
| Returns TRUE if user setting is visible, FALSE otherwise. | |
| userSettingEnabled ($setting) | |
| Returns TRUE if user setting is enabled, FALSE otherwise. | |
| uploadUserPicture () | |
| Upload user image. | |
| removeUserPicture () | |
| remove user image | |
| saveProfile () | |
| save user profile data | |
| showProfile () | |
| show profile form | |
| addLocationToForm (ilPropertyFormGUI $a_form, ilObjUser $a_user) | |
| Add location fields to form if activated. | |
| setTabs () | |
| __showOtherInformations () | |
| __showUserDefinedFields () | |
| __checkUserDefinedRequiredFields () | |
| setHeader () | |
| Set header. | |
| showPersonalData ($a_no_init=false) | |
| Personal data form. | |
| initPersonalDataForm () | |
| Init personal form. | |
| savePersonalData () | |
| Save personal data form. | |
| showPublicProfile ($a_no_init=false) | |
| Public profile form. | |
| initPublicProfileForm () | |
| Init public profile form. | |
| showPublicProfileFields (ilPropertyformGUI $form, array $prefs, $parent=null, $anonymized=false) | |
| Add fields to form. | |
| savePublicProfile () | |
| Save public profile form. | |
| showExportImport () | |
| Show export/import. | |
| exportPersonalData () | |
| Export personal data. | |
| downloadPersonalData () | |
| Download personal data export file. | |
| importPersonalDataSelection () | |
| Import personal data selection. | |
| initPersonalDataImportForm () | |
| Init personal data import form. | |
| importPersonalData () | |
| Import personal data. | |
| Data Fields | |
| $tpl | |
| $lng | |
| $ilias | |
| $ctrl | |
| $user_defined_fields = null | |
| Protected Member Functions | |
| getProfilePortfolio () | |
| has profile set to a portfolio? | |
GUI class for personal profile.
ilPersonalProfileGUI: ilPublicUserProfileGUI
Definition at line 12 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__checkUserDefinedRequiredFields | ( | ) | 
Definition at line 693 of file class.ilPersonalProfileGUI.php.
References $_POST.
Referenced by saveProfile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::__showOtherInformations | ( | ) | 
Definition at line 623 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) | 
Definition at line 634 of file class.ilPersonalProfileGUI.php.
References $ilUser, ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::addLocationToForm | ( | ilPropertyFormGUI | $a_form, | 
| ilObjUser | $a_user | ||
| ) | 
Add location fields to form if activated.
| ilPropertyFormGUI | $a_form | |
| ilObjUser | $a_user | 
Definition at line 537 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, ilPropertyFormGUI\addItem(), ilObjUser\getCity(), ilObjUser\getCountry(), ilGoogleMapUtil\getDefaultSettings(), ilObjUser\getLatitude(), ilObjUser\getLocationZoom(), ilObjUser\getLongitude(), ilObjUser\getStreet(), ilGoogleMapUtil\isActivated(), and ilLocationInputGUI\setLatitude().
Referenced by initPersonalDataForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::downloadPersonalData | ( | ) | 
Download personal data export file.
| @return | 
Definition at line 1411 of file class.ilPersonalProfileGUI.php.
References $ilUser.
| & ilPersonalProfileGUI::executeCommand | ( | ) | 
execute command
Definition at line 48 of file class.ilPersonalProfileGUI.php.
References $_GET, $cmd, $ilCtrl, $ilUser, $lng, $tpl, and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::exportPersonalData | ( | ) | 
| 
 | protected | 
has profile set to a portfolio?
Definition at line 1036 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $ilUser, and ilObjPortfolio\getDefaultPortfolio().
Referenced by setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::ilPersonalProfileGUI | ( | ) | 
constructor
Definition at line 25 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilias, $lng, $tpl, and ilUserDefinedFields\_getInstance().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalData | ( | ) | 
Import personal data.
| @return | 
Definition at line 1491 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $ilUser, $tpl, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalDataSelection | ( | ) | 
Import personal data selection.
| @return | 
Definition at line 1424 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, and $tpl.
| ilPersonalProfileGUI::initPersonalDataForm | ( | ) | 
Init personal form.
Definition at line 751 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $ilUser, $lng, $options, addLocationToForm(), UDF_TYPE_SELECT, UDF_TYPE_TEXT, and UDF_TYPE_WYSIWYG.
Referenced by savePersonalData(), and showPersonalData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::initPersonalDataImportForm | ( | ) | 
Init personal data import form.
| @return | 
Definition at line 1443 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, ilFormPropertyGUI\setRequired(), and ilFormPropertyGUI\setTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::initPublicProfileForm | ( | ) | 
Init public profile form.
| int | $a_mode | Edit Mode | 
Definition at line 1052 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $ilUser, $lng, ilFormPropertyGUI\setInfo(), and ilRadioGroupInputGUI\setValue().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::removeUserPicture | ( | ) | 
remove user image
Definition at line 195 of file class.ilPersonalProfileGUI.php.
References $ilUser, and saveProfile().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::savePersonalData | ( | ) | 
Save personal data form.
Definition at line 825 of file class.ilPersonalProfileGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $ilUser, $lng, $location, $redirect, $tpl, ilObjUser\_loginExists(), ilSession\get(), initPersonalDataForm(), ilGoogleMapUtil\isActivated(), ilUtil\isLogin(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSession\set(), ilUtil\stripSlashes(), uploadUserPicture(), and workWithUserSetting().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::saveProfile | ( | ) | 
save user profile data
Definition at line 209 of file class.ilPersonalProfileGUI.php.
References $_POST, $GLOBALS, $ilSetting, $ilUser, __checkUserDefinedRequiredFields(), ilUtil\is_email(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showProfile(), ilUtil\stripSlashes(), ilLuceneIndexer\updateLuceneIndex(), and workWithUserSetting().
Referenced by removeUserPicture().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::savePublicProfile | ( | ) | 
Save public profile form.
Definition at line 1275 of file class.ilPersonalProfileGUI.php.
References $_POST, $GLOBALS, $ilCtrl, $ilUser, $lng, $tpl, ilUtil\sendSuccess(), and ilLuceneIndexer\updateLuceneIndex().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::setHeader | ( | ) | 
Set header.
Definition at line 709 of file class.ilPersonalProfileGUI.php.
Referenced by showPersonalData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::setTabs | ( | ) | 
Definition at line 592 of file class.ilPersonalProfileGUI.php.
References $ilUser, and getProfilePortfolio().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showExportImport | ( | ) | 
Show export/import.
| @return | 
Definition at line 1367 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilUser, and $tpl.
| ilPersonalProfileGUI::showPersonalData | ( | $a_no_init = false | ) | 
Personal data form.
Definition at line 724 of file class.ilPersonalProfileGUI.php.
References $ilias, $ilSetting, $ilUser, $lng, initPersonalDataForm(), ilUtil\sendInfo(), and setHeader().
Referenced by showProfile().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showProfile | ( | ) | 
show profile form
/OLD IMPLEMENTATION DEPRECATED
Definition at line 526 of file class.ilPersonalProfileGUI.php.
References showPersonalData().
Referenced by saveProfile().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::showPublicProfile | ( | $a_no_init = false | ) | 
Public profile form.
Definition at line 1009 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $ilUser, and $lng.
| ilPersonalProfileGUI::showPublicProfileFields | ( | ilPropertyformGUI | $form, | 
| array | $prefs, | ||
| $parent = null, | |||
| $anonymized = false | |||
| ) | 
Add fields to form.
| ilPropertyformGUI | $form | |
| array | $prefs | |
| object | $parent | |
| bool | $a_anonymized | 
Definition at line 1125 of file class.ilPersonalProfileGUI.php.
References $ilUser, ilObjUser\_getPersonalPicturePath(), ilDatePresentation\formatDate(), IL_CAL_DATE, ilGoogleMapUtil\isActivated(), ilCheckboxInputGUI\setChecked(), and ilCheckboxInputGUI\setOptionTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) | 
Upload user image.
Definition at line 125 of file class.ilPersonalProfileGUI.php.
References $ilUser, ilUtil\escapeShellArg(), ilUtil\execConvert(), ilUtil\getWebspaceDir(), ilUtil\isConvertVersionAtLeast(), ilUtil\sendFailure(), and workWithUserSetting().
Referenced by savePersonalData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::userSettingEnabled | ( | $setting | ) | 
| ilPersonalProfileGUI::userSettingVisible | ( | $setting | ) | 
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 97 of file class.ilPersonalProfileGUI.php.
References $result.
Referenced by __showOtherInformations().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::workWithUserSetting | ( | $setting | ) | 
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
Definition at line 79 of file class.ilPersonalProfileGUI.php.
References $result.
Referenced by savePersonalData(), saveProfile(), and uploadUserPicture().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::$ctrl | 
Definition at line 17 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::$ilias | 
Definition at line 16 of file class.ilPersonalProfileGUI.php.
Referenced by ilPersonalProfileGUI(), and showPersonalData().
| ilPersonalProfileGUI::$lng | 
Definition at line 15 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), ilPersonalProfileGUI(), initPersonalDataForm(), savePersonalData(), and showPersonalData().
| ilPersonalProfileGUI::$tpl | 
Definition at line 14 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), ilPersonalProfileGUI(), and savePersonalData().
| ilPersonalProfileGUI::$user_defined_fields = null | 
Definition at line 19 of file class.ilPersonalProfileGUI.php.