ILIAS
Release_4_2_x_branch Revision 61807
|
GUI class for personal profile. More...
Public Member Functions | |
__construct () | |
constructor | |
& | executeCommand () |
execute command | |
changeUserPassword () | |
change user password | |
saveMailOptions () | |
Called if the user pushes the submit button of the mail options form. | |
showMailOptions () | |
Called to display the mail options form. | |
showjsMath () | |
savejsMath () | |
__initSubTabs ($a_cmd) | |
saveChatOptions () | |
setHeader () | |
Set header. | |
showChatOptions ($by_post=false) | |
show Chat Settings | |
showPassword ($a_no_init=false) | |
Password form. | |
initPasswordForm () | |
Init password form. | |
allowPasswordChange () | |
Check, whether password change is allowed for user. | |
savePassword () | |
Save password form. | |
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. | |
showGeneralSettings ($a_no_init=false) | |
General settings form. | |
initGeneralSettingsForm () | |
Init general settings form. | |
saveGeneralSettings () | |
Save general settings. |
Data Fields | |
$tpl | |
$lng | |
$ilias | |
$ctrl |
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.
Definition at line 11 of file class.ilPersonalSettingsGUI.php.
ilPersonalSettingsGUI::__construct | ( | ) |
constructor
Definition at line 21 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilias, $lng, $tpl, and ilUserDefinedFields\_getInstance().
ilPersonalSettingsGUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 380 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, and allowPasswordChange().
Referenced by saveMailOptions(), showChatOptions(), showGeneralSettings(), showjsMath(), showMailOptions(), and showPassword().
ilPersonalSettingsGUI::allowPasswordChange | ( | ) |
Check, whether password change is allowed for user.
Definition at line 676 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, AUTH_CAS, AUTH_LOCAL, AUTH_OPENID, AUTH_SHIBBOLETH, AUTH_SOAP, ilAuthUtils\isPasswordModificationEnabled(), and userSettingVisible().
Referenced by __initSubTabs(), initPasswordForm(), and savePassword().
ilPersonalSettingsGUI::changeUserPassword | ( | ) |
change user password
Definition at line 86 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilSetting, AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, AUTH_SOAP, ilUtil\isPassword(), and ilUtil\sendSuccess().
& ilPersonalSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 43 of file class.ilPersonalSettingsGUI.php.
References $cmd, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
|
private |
Definition at line 427 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilSetting, and $lng.
Referenced by showChatOptions().
ilPersonalSettingsGUI::initGeneralSettingsForm | ( | ) |
Init general settings form.
Definition at line 862 of file class.ilPersonalSettingsGUI.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, ilSession\getSessionExpireValue(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and userSettingVisible().
Referenced by saveGeneralSettings(), and showGeneralSettings().
|
private |
Initialises the mail options form.
Definition at line 229 of file class.ilPersonalSettingsGUI.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().
ilPersonalSettingsGUI::initPasswordForm | ( | ) |
Init password form.
int | $a_mode | Edit Mode |
Definition at line 598 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $lng, ilDAVServer\_isActive(), allowPasswordChange(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, ilUtil\getPasswordRequirementsInfo(), ilFormPropertyGUI\setRequired(), and ilPasswordInputGUI\setRetype().
Referenced by savePassword(), and showPassword().
ilPersonalSettingsGUI::saveChatOptions | ( | ) |
Definition at line 491 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilSetting, $lng, ilUtil\sendSuccess(), and showChatOptions().
ilPersonalSettingsGUI::saveGeneralSettings | ( | ) |
Save general settings.
Definition at line 1040 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilCtrl, $ilSetting, $lng, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), initGeneralSettingsForm(), ilUtil\sendSuccess(), and workWithUserSetting().
ilPersonalSettingsGUI::savejsMath | ( | ) |
Definition at line 359 of file class.ilPersonalSettingsGUI.php.
References $_POST, and $ilCtrl.
ilPersonalSettingsGUI::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.
Definition at line 179 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilSetting, $lng, __initSubTabs(), initMailOptionsForm(), ilUtil\sendSuccess(), setHeader(), and ilUtil\stripSlashes().
ilPersonalSettingsGUI::savePassword | ( | ) |
Save password form.
Definition at line 707 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilCtrl, $ilSetting, $lng, $tpl, allowPasswordChange(), AUTH_LOCAL, initPasswordForm(), ilUtil\isPassword(), ilUtil\sendSuccess(), and showPassword().
ilPersonalSettingsGUI::setHeader | ( | ) |
Set header.
Definition at line 525 of file class.ilPersonalSettingsGUI.php.
Referenced by saveMailOptions(), showChatOptions(), showGeneralSettings(), showjsMath(), showMailOptions(), and showPassword().
|
private |
Fetches data from model and loads this data into form.
Definition at line 289 of file class.ilPersonalSettingsGUI.php.
References $data, $ilSetting, and ilMailOptions\getIncomingType().
Referenced by showMailOptions().
ilPersonalSettingsGUI::showChatOptions | ( | $by_post = false | ) |
show Chat Settings
Definition at line 534 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilSetting, $lng, __initSubTabs(), getChatSettingsForm(), and setHeader().
Referenced by saveChatOptions().
ilPersonalSettingsGUI::showGeneralSettings | ( | $a_no_init = false | ) |
General settings form.
Definition at line 841 of file class.ilPersonalSettingsGUI.php.
References __initSubTabs(), initGeneralSettingsForm(), and setHeader().
ilPersonalSettingsGUI::showjsMath | ( | ) |
Definition at line 331 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $lng, $tpl, __initSubTabs(), ilCheckboxInputGUI\setChecked(), and setHeader().
ilPersonalSettingsGUI::showMailOptions | ( | ) |
Called to display the mail options form.
Definition at line 313 of file class.ilPersonalSettingsGUI.php.
References $lng, __initSubTabs(), initMailOptionsForm(), setHeader(), and setMailOptionsValuesByDB().
ilPersonalSettingsGUI::showPassword | ( | $a_no_init = false | ) |
Password form.
Definition at line 576 of file class.ilPersonalSettingsGUI.php.
References __initSubTabs(), initPasswordForm(), and setHeader().
Referenced by savePassword().
ilPersonalSettingsGUI::userSettingEnabled | ( | $setting | ) |
ilPersonalSettingsGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 813 of file class.ilPersonalSettingsGUI.php.
References $result.
Referenced by allowPasswordChange(), and initGeneralSettingsForm().
ilPersonalSettingsGUI::workWithUserSetting | ( | $setting | ) |
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
Definition at line 795 of file class.ilPersonalSettingsGUI.php.
References $result.
Referenced by saveGeneralSettings().
ilPersonalSettingsGUI::$ctrl |
Definition at line 16 of file class.ilPersonalSettingsGUI.php.
ilPersonalSettingsGUI::$ilias |
Definition at line 15 of file class.ilPersonalSettingsGUI.php.
Referenced by __construct().
ilPersonalSettingsGUI::$lng |
Definition at line 14 of file class.ilPersonalSettingsGUI.php.
Referenced by __construct(), executeCommand(), getChatSettingsForm(), initGeneralSettingsForm(), initMailOptionsForm(), initPasswordForm(), saveChatOptions(), saveGeneralSettings(), saveMailOptions(), savePassword(), showChatOptions(), showjsMath(), and showMailOptions().
ilPersonalSettingsGUI::$tpl |
Definition at line 13 of file class.ilPersonalSettingsGUI.php.
Referenced by __construct(), executeCommand(), saveGeneralSettings(), savePassword(), and showjsMath().