|
ILIAS
Release_3_10_x_branch Revision 61812
|
GUI class for personal profile. More...
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 () | |
| showMailOptions () | |
| showjsMath () | |
| savejsMath () | |
| showLocation () | |
| saveLocation () | |
| __initSubTabs ($a_cmd) | |
| __showOtherInformations () | |
| __showUserDefinedFields () | |
| __checkUserDefinedRequiredFields () | |
| showProfile2 () | |
| show profile form | |
| initForm () | |
Data Fields | |
| $tpl | |
| $lng | |
| $ilias | |
| $ctrl | |
| $user_defined_fields = null | |
GUI class for personal profile.
Definition at line 34 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__checkUserDefinedRequiredFields | ( | ) |
Definition at line 1634 of file class.ilPersonalProfileGUI.php.
Referenced by saveProfile().
Here is the caller graph for this function:| ilPersonalProfileGUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 1528 of file class.ilPersonalProfileGUI.php.
References ilGoogleMapUtil\isActivated().
Referenced by showjsMath(), showLocation(), showMailOptions(), showProfile(), and showProfile2().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::__showOtherInformations | ( | ) |
Definition at line 1564 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
Referenced by initForm(), and showProfile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) |
Definition at line 1575 of file class.ilPersonalProfileGUI.php.
References ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
Referenced by showProfile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::changeUserPassword | ( | ) |
change user password
Definition at line 206 of file class.ilPersonalProfileGUI.php.
References $ilSetting, AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, AUTH_SOAP, ilUtil\isPassword(), saveProfile(), and ilUtil\sendInfo().
Here is the call graph for this function:| & ilPersonalProfileGUI::executeCommand | ( | ) |
| ilPersonalProfileGUI::ilPersonalProfileGUI | ( | ) |
constructor
Definition at line 47 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilias, $lng, $tpl, and ilUserDefinedFields\_getInstance().
Here is the call graph for this function:| ilPersonalProfileGUI::initForm | ( | ) |
Definition at line 1683 of file class.ilPersonalProfileGUI.php.
References $ilSetting, $lng, __showOtherInformations(), ilObjStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilImageFileInputGUI\setImage(), ilCheckboxInputGUI\setValue(), ilTextInputGUI\setValue(), ilSelectInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilTextAreaInputGUI\setValue(), ilNonEditableValueGUI\setValue(), UDF_TYPE_TEXT, userSettingEnabled(), and userSettingVisible().
Referenced by showProfile2().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::removeUserPicture | ( | ) |
remove user image
Definition at line 193 of file class.ilPersonalProfileGUI.php.
References saveProfile().
Here is the call graph for this function:| ilPersonalProfileGUI::savejsMath | ( | ) |
Definition at line 1433 of file class.ilPersonalProfileGUI.php.
References $ilCtrl.
| ilPersonalProfileGUI::saveLocation | ( | ) |
Definition at line 1513 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPersonalProfileGUI::saveMailOptions | ( | ) |
Definition at line 1322 of file class.ilPersonalProfileGUI.php.
References ilUtil\sendInfo(), showMailOptions(), and ilMailOptions\updateOptions().
Here is the call graph for this function:| ilPersonalProfileGUI::saveProfile | ( | ) |
save user profile data
Definition at line 338 of file class.ilPersonalProfileGUI.php.
References __checkUserDefinedRequiredFields(), ilUtil\is_email(), ilUtil\sendInfo(), showProfile(), ilUtil\stripSlashes(), and workWithUserSetting().
Referenced by changeUserPassword(), removeUserPicture(), and uploadUserPicture().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::showjsMath | ( | ) |
Definition at line 1404 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, $tpl, __initSubTabs(), ilUtil\getImagePath(), and ilCheckboxInputGUI\setChecked().
Here is the call graph for this function:| ilPersonalProfileGUI::showLocation | ( | ) |
Definition at line 1453 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:| ilPersonalProfileGUI::showMailOptions | ( | ) |
Definition at line 1337 of file class.ilPersonalProfileGUI.php.
References $ilias, __initSubTabs(), ilObjUser\_lookupEmail(), ilUtil\getImagePath(), and ilMailOptions\getLinebreak().
Referenced by saveMailOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::showProfile | ( | ) |
show profile form
Definition at line 646 of file class.ilPersonalProfileGUI.php.
References $data, $ilias, $ilSetting, $lng, __initSubTabs(), __showOtherInformations(), __showUserDefinedFields(), ilDAVServer\_isActive(), ilObjStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, AUTH_SOAP, ilUtil\formRadioButton(), ilUtil\generatePasswords(), ilUtil\getImagePath(), ilUtil\getWebspaceDir(), ilUtil\infoPanel(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), userSettingEnabled(), and userSettingVisible().
Referenced by saveProfile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::showProfile2 | ( | ) |
show profile form
Definition at line 1650 of file class.ilPersonalProfileGUI.php.
References $ilias, $ilSetting, $lng, __initSubTabs(), exit, ilUtil\getImagePath(), ilUtil\infoPanel(), initForm(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) |
upload user image
(original method by ratana ty)
Definition at line 135 of file class.ilPersonalProfileGUI.php.
References ilUtil\escapeShellArg(), ilUtil\getConvertCmd(), ilUtil\getWebspaceDir(), ilUtil\moveUploadedFile(), saveProfile(), ilUtil\sendInfo(), and workWithUserSetting().
Here is the call graph for this function:| ilPersonalProfileGUI::userSettingEnabled | ( | $setting | ) |
Returns TRUE if user setting is enabled, FALSE otherwise.
Definition at line 120 of file class.ilPersonalProfileGUI.php.
References $result.
Referenced by initForm(), and showProfile().
Here is the caller graph for this function:| ilPersonalProfileGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 106 of file class.ilPersonalProfileGUI.php.
References $result.
Referenced by __showOtherInformations(), initForm(), and showProfile().
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 88 of file class.ilPersonalProfileGUI.php.
References $result.
Referenced by saveProfile(), and uploadUserPicture().
Here is the caller graph for this function:| ilPersonalProfileGUI::$ctrl |
Definition at line 39 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::$ilias |
Definition at line 38 of file class.ilPersonalProfileGUI.php.
Referenced by ilPersonalProfileGUI(), showMailOptions(), showProfile(), and showProfile2().
| ilPersonalProfileGUI::$lng |
Definition at line 37 of file class.ilPersonalProfileGUI.php.
Referenced by ilPersonalProfileGUI(), initForm(), showjsMath(), showLocation(), showProfile(), and showProfile2().
| ilPersonalProfileGUI::$tpl |
Definition at line 36 of file class.ilPersonalProfileGUI.php.
Referenced by ilPersonalProfileGUI(), and showjsMath().
| ilPersonalProfileGUI::$user_defined_fields = null |
Definition at line 41 of file class.ilPersonalProfileGUI.php.