| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
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 | |
| changeUserPassword () | |
| change user password | |
| saveProfile () | |
| save user profile data | |
| showProfile () | |
| show profile form | |
| saveMailOptions () | |
| Called if the user pushes the submit button of the mail options form. | |
| showMailOptions () | |
| Called to display the mail options form. | |
| showjsMath () | |
| savejsMath () | |
| showLocation () | |
| saveLocation () | |
| __initSubTabs ($a_cmd) | |
| __showOtherInformations () | |
| __showUserDefinedFields () | |
| __checkUserDefinedRequiredFields () | |
| saveChatOptions () | |
| showChatOptions ($by_post=false) | |
| show Chat Settings | |
| 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. | |
| savePublicProfile () | |
| Save public profile form. | |
| showPassword ($a_no_init=false) | |
| Password form. | |
| initPasswordForm () | |
| Init password form. | |
| allowPasswordChange () | |
| Check, whether password change is allowed for user. | |
| savePassword () | |
| Save password form. | |
| showGeneralSettings ($a_no_init=false) | |
| General settings form. | |
| initGeneralSettingsForm () | |
| Init general settings form. | |
| saveGeneralSettings () | |
| Save general settings. | |
| showExtendedProfile () | |
| Show extended profile. | |
| addProfilePage () | |
| Add profile page. | |
| initProfilePageForm ($a_mode="edit") | |
| Init profile page form. | |
| saveProfilePage () | |
| Save profile page form. | |
| getProfilePageValues () | |
| Get current values for profile page from. | |
| initExtProfile () | |
| Init desktop header. | |
| confirmProfilePageDeletion () | |
| Confirm item deletion. | |
| deleteProfilePages () | |
| Delete profile pages. | |
| saveExtProfilePagesOrdering () | |
| Save ordering of external profile pages. | |
| Data Fields | |
| $tpl | |
| $lng | |
| $ilias | |
| $ctrl | |
| $user_defined_fields = null | |
| Private Member Functions | |
| initMailOptionsForm () | |
| Initialises the mail options form. | |
| setMailOptionsValuesByDB () | |
| Fetches data from model and loads this data into form. | |
| getChatSettingsForm () | |
GUI class for personal profile.
ilPersonalProfileGUI: ilPublicUserProfileGUI, ilExtPublicProfilePageGUI
Definition at line 14 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__checkUserDefinedRequiredFields | ( | ) | 
Definition at line 1136 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::__initSubTabs | ( | $a_cmd | ) | 
Definition at line 992 of file class.ilPersonalProfileGUI.php.
References $ilSetting, allowPasswordChange(), and ilGoogleMapUtil\isActivated().
Referenced by saveMailOptions(), showChatOptions(), showjsMath(), showLocation(), showMailOptions(), 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::__showOtherInformations | ( | ) | 
Definition at line 1066 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 1077 of file class.ilPersonalProfileGUI.php.
References 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::addProfilePage | ( | ) | 
Add profile page.
| @return | 
Definition at line 2379 of file class.ilPersonalProfileGUI.php.
References $tpl.
| ilPersonalProfileGUI::allowPasswordChange | ( | ) | 
Check, whether password change is allowed for user.
Definition at line 1930 of file class.ilPersonalProfileGUI.php.
References $ilSetting, AUTH_CAS, AUTH_LOCAL, AUTH_OPENID, AUTH_SHIBBOLETH, AUTH_SOAP, and ilAuthUtils\isPasswordModificationEnabled().
Referenced by __initSubTabs().
 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::changeUserPassword | ( | ) | 
change user password
Definition at line 241 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilSetting, AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, AUTH_SOAP, ilUtil\isPassword(), saveProfile(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::confirmProfilePageDeletion | ( | ) | 
Confirm item deletion.
Definition at line 2481 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilExtPublicProfilePage\lookupTitle(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::deleteProfilePages | ( | ) | 
Delete profile pages.
| @return | 
Definition at line 2518 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $ilDB, $lng, ilExtPublicProfilePage\fixOrdering(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilPersonalProfileGUI::executeCommand | ( | ) | 
execute command
Definition at line 49 of file class.ilPersonalProfileGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, $ret, $tpl, ilObjStyleSheet\getContentStylePath(), initExtProfile(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 1150 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilSetting, and $lng.
Referenced by showChatOptions().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::getProfilePageValues | ( | ) | 
Get current values for profile page from.
Definition at line 2455 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::ilPersonalProfileGUI | ( | ) | 
constructor
Definition at line 27 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::initExtProfile | ( | ) | 
Init desktop header.
Definition at line 2467 of file class.ilPersonalProfileGUI.php.
References ilUtil\getImagePath().
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::initGeneralSettingsForm | ( | ) | 
Init general settings form.
Definition at line 2073 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_getShortTimeZoneList(), ilObjStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilFormat\_secondsToString(), ilCalendarSettings\DATE_FORMAT_DMY, ilCalendarSettings\DATE_FORMAT_MDY, ilCalendarSettings\DATE_FORMAT_YMD, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Initialises the mail options form.
private
Definition at line 732 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilSetting, $lng, ilObjUser\_lookupEmail(), IL_MAIL_BOTH, IL_MAIL_EMAIL, IL_MAIL_LOCAL, ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
Referenced by saveMailOptions(), and showMailOptions().
 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::initPasswordForm | ( | ) | 
Init password form.
| int | $a_mode | Edit Mode | 
Definition at line 1852 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, ilDAVServer\_isActive(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, ilUtil\getPasswordRequirementsInfo(), ilFormPropertyGUI\setRequired(), and ilPasswordInputGUI\setRetype().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::initPersonalDataForm | ( | ) | 
Init personal form.
Definition at line 1325 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, UDF_TYPE_TEXT, and UDF_TYPE_WYSIWYG.
Referenced by savePersonalData(), and showPersonalData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPersonalProfileGUI::initProfilePageForm | ( | $a_mode = "edit" | ) | 
Init profile page form.
| int | $a_mode | Edit Mode | 
Definition at line 2396 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, and ilTextInputGUI\setMaxLength().
 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 1589 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, ilDatePresentation\formatDate(), IL_CAL_DATE, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), and ilCheckboxInputGUI\setOptionTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::removeUserPicture | ( | ) | 
remove user image
Definition at line 228 of file class.ilPersonalProfileGUI.php.
References saveProfile().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::saveChatOptions | ( | ) | 
Definition at line 1214 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilSetting, $lng, ilUtil\sendSuccess(), and showChatOptions().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::saveExtProfilePagesOrdering | ( | ) | 
Save ordering of external profile pages.
| @return | 
Definition at line 2545 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $lng, ilExtPublicProfilePage\fixOrdering(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::saveGeneralSettings | ( | ) | 
Save general settings.
Definition at line 2253 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $ilSetting, $lng, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::savejsMath | ( | ) | 
Definition at line 874 of file class.ilPersonalProfileGUI.php.
References $_POST, and $ilCtrl.
| ilPersonalProfileGUI::saveLocation | ( | ) | 
Definition at line 976 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::saveMailOptions | ( | ) | 
Called if the user pushes the submit button of the mail options form.
Passes the post data to the mail options model instance to store them.
public
Definition at line 675 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilSetting, $lng, __initSubTabs(), ilUtil\getImagePath(), initMailOptionsForm(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::savePassword | ( | ) | 
Save password form.
Definition at line 1961 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $ilSetting, $lng, $tpl, AUTH_LOCAL, ilUtil\isPassword(), and ilUtil\sendSuccess().
 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 1390 of file class.ilPersonalProfileGUI.php.
References $_SESSION, $ilAuth, $ilCtrl, $ilSetting, $lng, $redirect, $tpl, ilObjUser\_loginExists(), initPersonalDataForm(), ilUtil\isLogin(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), 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 351 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilAuth, $ilSetting, __checkUserDefinedRequiredFields(), ilUtil\is_email(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showProfile(), ilUtil\stripSlashes(), and workWithUserSetting().
Referenced by changeUserPassword(), and 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::saveProfilePage | ( | ) | 
Save profile page form.
Definition at line 2430 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::savePublicProfile | ( | ) | 
Save public profile form.
Definition at line 1731 of file class.ilPersonalProfileGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Fetches data from model and loads this data into form.
private
Definition at line 795 of file class.ilPersonalProfileGUI.php.
References $data, $ilSetting, and ilMailOptions\getIncomingType().
Referenced by showMailOptions().
 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::showChatOptions | ( | $by_post = false | ) | 
show Chat Settings
Definition at line 1248 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilSetting, $lng, __initSubTabs(), getChatSettingsForm(), and ilUtil\getImagePath().
Referenced by saveChatOptions().
 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::showExtendedProfile | ( | ) | 
Show extended profile.
| @return | 
Definition at line 2358 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, $tab, and $tpl.
| ilPersonalProfileGUI::showGeneralSettings | ( | $a_no_init = false | ) | 
General settings form.
Definition at line 2048 of file class.ilPersonalProfileGUI.php.
References ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::showjsMath | ( | ) | 
Definition at line 844 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, $tpl, __initSubTabs(), ilUtil\getImagePath(), and ilCheckboxInputGUI\setChecked().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::showLocation | ( | ) | 
Definition at line 894 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, __initSubTabs(), ilGoogleMapUtil\getDefaultSettings(), ilUtil\getImagePath(), ilGoogleMapUtil\isActivated(), ilLocationInputGUI\setLatitude(), and ilCheckboxInputGUI\setValue().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::showMailOptions | ( | ) | 
Called to display the mail options form.
public
Definition at line 822 of file class.ilPersonalProfileGUI.php.
References $lng, __initSubTabs(), ilUtil\getImagePath(), initMailOptionsForm(), and setMailOptionsValuesByDB().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::showPassword | ( | $a_no_init = false | ) | 
Password form.
Definition at line 1826 of file class.ilPersonalProfileGUI.php.
References ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::showPersonalData | ( | $a_no_init = false | ) | 
Personal data form.
Definition at line 1291 of file class.ilPersonalProfileGUI.php.
References $ilias, $ilSetting, $lng, __initSubTabs(), ilUtil\getImagePath(), initPersonalDataForm(), and ilUtil\sendInfo().
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 663 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 1557 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, and ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) | 
Upload user image.
Definition at line 166 of file class.ilPersonalProfileGUI.php.
References ilUtil\escapeShellArg(), ilUtil\execConvert(), ilUtil\getWebspaceDir(), ilUtil\moveUploadedFile(), 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 138 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 120 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 19 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::$ilias | 
Definition at line 18 of file class.ilPersonalProfileGUI.php.
Referenced by ilPersonalProfileGUI(), and showPersonalData().
| ilPersonalProfileGUI::$lng | 
Definition at line 17 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), getChatSettingsForm(), ilPersonalProfileGUI(), initMailOptionsForm(), initPersonalDataForm(), saveChatOptions(), saveLocation(), saveMailOptions(), savePersonalData(), showChatOptions(), showjsMath(), showLocation(), showMailOptions(), and showPersonalData().
| ilPersonalProfileGUI::$tpl | 
Definition at line 16 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), ilPersonalProfileGUI(), savePersonalData(), and showjsMath().
| ilPersonalProfileGUI::$user_defined_fields = null | 
Definition at line 21 of file class.ilPersonalProfileGUI.php.