ILIAS
Release_3_10_x_branch Revision 61812
|
GUI class for personal profile. More...
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().
ilPersonalProfileGUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 1528 of file class.ilPersonalProfileGUI.php.
References ilGoogleMapUtil\isActivated().
Referenced by showjsMath(), showLocation(), showMailOptions(), showProfile(), and showProfile2().
ilPersonalProfileGUI::__showOtherInformations | ( | ) |
Definition at line 1564 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
Referenced by initForm(), and showProfile().
ilPersonalProfileGUI::__showUserDefinedFields | ( | ) |
Definition at line 1575 of file class.ilPersonalProfileGUI.php.
References ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
Referenced by showProfile().
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().
& ilPersonalProfileGUI::executeCommand | ( | ) |
ilPersonalProfileGUI::ilPersonalProfileGUI | ( | ) |
constructor
Definition at line 47 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $ilias, $lng, $tpl, and ilUserDefinedFields\_getInstance().
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().
ilPersonalProfileGUI::removeUserPicture | ( | ) |
remove user image
Definition at line 193 of file class.ilPersonalProfileGUI.php.
References saveProfile().
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().
ilPersonalProfileGUI::saveMailOptions | ( | ) |
Definition at line 1322 of file class.ilPersonalProfileGUI.php.
References ilUtil\sendInfo(), showMailOptions(), and ilMailOptions\updateOptions().
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().
ilPersonalProfileGUI::showjsMath | ( | ) |
Definition at line 1404 of file class.ilPersonalProfileGUI.php.
References $ilCtrl, $lng, $tpl, __initSubTabs(), ilUtil\getImagePath(), and ilCheckboxInputGUI\setChecked().
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().
ilPersonalProfileGUI::showMailOptions | ( | ) |
Definition at line 1337 of file class.ilPersonalProfileGUI.php.
References $ilias, __initSubTabs(), ilObjUser\_lookupEmail(), ilUtil\getImagePath(), and ilMailOptions\getLinebreak().
Referenced by saveMailOptions().
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().
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().
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().
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().
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().
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().
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.