ILIAS
release_4-3 Revision
|
GUI class for personal profile. More...
Public Member Functions | |
__construct () | |
constructor | |
& | executeCommand () |
execute command | |
changeUserPassword () | |
change user password | |
setHeader () | |
Set header. | |
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 |
Protected Member Functions | |
deleteOwnAccount1 () | |
Delete own account dialog - 1st confirmation. | |
deleteOwnAccount2 () | |
Delete own account dialog - login redirect. | |
abortDeleteOwnAccount () | |
deleteOwnAccountLogout () | |
deleteOwnAccount3 () | |
Delete own account dialog - final confirmation. | |
deleteOwnAccount4 () | |
Delete own account dialog - action incl. |
Private Member Functions | |
initMailOptionsForm () | |
Initialises the mail options form. | |
setMailOptionsValuesByDB () | |
Fetches data from model and loads this data into form. |
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().
|
protected |
Definition at line 1287 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilUser, and ilUtil\sendInfo().
ilPersonalSettingsGUI::allowPasswordChange | ( | ) |
Check, whether password change is allowed for user.
Definition at line 691 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, AUTH_CAS, AUTH_LOCAL, AUTH_OPENID, AUTH_SHIBBOLETH, AUTH_SOAP, ilAuthUtils\isPasswordModificationEnabled(), and userSettingVisible().
Referenced by initPasswordForm(), and savePassword().
ilPersonalSettingsGUI::changeUserPassword | ( | ) |
change user password
Definition at line 88 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilSetting, $ilUser, AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, AUTH_SOAP, ilUtil\isPassword(), and ilUtil\sendSuccess().
|
protected |
Delete own account dialog - 1st confirmation.
Definition at line 1236 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, ilUtil\sendInfo(), and setHeader().
|
protected |
Delete own account dialog - login redirect.
Definition at line 1263 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - final confirmation.
Definition at line 1316 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - action incl.
notification email
Definition at line 1344 of file class.ilPersonalSettingsGUI.php.
References $ilLog, $ilSetting, $ilUser, ilMail\_getInstallationSignature(), ilDatePresentation\formatDate(), ilMail\getSalutation(), IL_CAL_UNIX, ilUtil\redirect(), and ilDatePresentation\setUseRelativeDates().
|
protected |
Definition at line 1297 of file class.ilPersonalSettingsGUI.php.
References $ilUser, ilUtil\redirect(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
& ilPersonalSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 45 of file class.ilPersonalSettingsGUI.php.
References $cmd, $ilCtrl, $ilUser, $lng, $tpl, and ilUtil\sendInfo().
ilPersonalSettingsGUI::initGeneralSettingsForm | ( | ) |
Init general settings form.
Definition at line 881 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, $si, ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_getShortTimeZoneList(), ilObjStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilFormat\_secondsToString(), ilCalendarSettings\DATE_FORMAT_DMY, ilCalendarSettings\DATE_FORMAT_MDY, ilCalendarSettings\DATE_FORMAT_YMD, ilUserUtil\getPersonalStartingObject(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getPossibleStartingPoints(), ilSession\getSessionExpireValue(), ilUserUtil\hasPersonalStartingPoint(), ilSessionReminder\MIN_LEAD_TIME, ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilRadioOption\setValue(), ilUserUtil\START_REPOSITORY_OBJ, ilSessionReminder\SUGGESTED_LEAD_TIME, ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and userSettingVisible().
Referenced by saveGeneralSettings(), and showGeneralSettings().
|
private |
Initialises the mail options form.
Definition at line 244 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $si, ilObjUser\_lookupEmail(), IL_MAIL_BOTH, IL_MAIL_EMAIL, IL_MAIL_LOCAL, ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
ilPersonalSettingsGUI::initPasswordForm | ( | ) |
Init password form.
int | $a_mode | Edit Mode |
Definition at line 613 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, ilDAVServer\_isActive(), allowPasswordChange(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, ilUtil\getPasswordRequirementsInfo(), ilFormPropertyGUI\setRequired(), and ilPasswordInputGUI\setRetype().
Referenced by savePassword(), and showPassword().
ilPersonalSettingsGUI::saveGeneralSettings | ( | ) |
Save general settings.
Definition at line 1124 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), ilUserUtil\hasPersonalStartingPoint(), initGeneralSettingsForm(), ilUtil\sendSuccess(), ilUserUtil\setPersonalStartingPoint(), showGeneralSettings(), and workWithUserSetting().
ilPersonalSettingsGUI::savePassword | ( | ) |
Save password form.
Definition at line 722 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, allowPasswordChange(), AUTH_LOCAL, initPasswordForm(), ilUtil\isPassword(), ilUtil\sendSuccess(), and showPassword().
ilPersonalSettingsGUI::setHeader | ( | ) |
Set header.
Definition at line 535 of file class.ilPersonalSettingsGUI.php.
Referenced by deleteOwnAccount1(), deleteOwnAccount2(), deleteOwnAccount3(), showGeneralSettings(), and showPassword().
|
private |
Fetches data from model and loads this data into form.
Definition at line 304 of file class.ilPersonalSettingsGUI.php.
References $data, $ilSetting, $ilUser, and ilMailOptions\getIncomingType().
ilPersonalSettingsGUI::showGeneralSettings | ( | $a_no_init = false | ) |
General settings form.
Definition at line 856 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, initGeneralSettingsForm(), and setHeader().
Referenced by saveGeneralSettings().
ilPersonalSettingsGUI::showPassword | ( | $a_no_init = false | ) |
Password form.
Definition at line 591 of file class.ilPersonalSettingsGUI.php.
References initPasswordForm(), and setHeader().
Referenced by savePassword().
ilPersonalSettingsGUI::userSettingEnabled | ( | $setting | ) |
ilPersonalSettingsGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 828 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 810 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(), initGeneralSettingsForm(), initMailOptionsForm(), initPasswordForm(), saveGeneralSettings(), and savePassword().
ilPersonalSettingsGUI::$tpl |
Definition at line 13 of file class.ilPersonalSettingsGUI.php.
Referenced by __construct(), executeCommand(), saveGeneralSettings(), and savePassword().