ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
GUI class for personal profile. More...
Public Member Functions | |
__construct () | |
constructor More... | |
executeCommand () | |
execute command More... | |
setHeader () | |
Set header. More... | |
showPassword ($a_no_init=false, $hide_form=false) | |
initPasswordForm () | |
Init password form. More... | |
savePassword () | |
Save password form. More... | |
workWithUserSetting ($setting) | |
Returns TRUE if working with the given user setting is allowed, FALSE otherwise. More... | |
userSettingVisible ($setting) | |
Returns TRUE if user setting is visible, FALSE otherwise. More... | |
userSettingEnabled ($setting) | |
Returns TRUE if user setting is enabled, FALSE otherwise. More... | |
showGeneralSettings ($a_no_init=false) | |
General settings form. More... | |
initGeneralSettingsForm () | |
Init general settings form. More... | |
saveGeneralSettings () | |
Save general settings. More... | |
Data Fields | |
$tpl | |
$lng | |
$ilias | |
$ctrl | |
Protected Member Functions | |
allowPasswordChange () | |
Check, whether password change is allowed for user. More... | |
deleteOwnAccount1 () | |
Delete own account dialog - 1st confirmation. More... | |
deleteOwnAccount2 () | |
Delete own account dialog - login redirect. More... | |
abortDeleteOwnAccount () | |
deleteOwnAccountLogout () | |
deleteOwnAccount3 () | |
Delete own account dialog - final confirmation. More... | |
deleteOwnAccount4 () | |
Delete own account dialog - action incl. More... | |
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, ilUserDefinedFields\_getInstance(), and settings().
|
protected |
Definition at line 863 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilUser, and ilUtil\sendInfo().
|
protected |
Check, whether password change is allowed for user.
Definition at line 265 of file class.ilPersonalSettingsGUI.php.
References $ilUser, ilSession\get(), and ilAuthUtils\isPasswordModificationEnabled().
Referenced by executeCommand(), initPasswordForm(), and savePassword().
|
protected |
Delete own account dialog - 1st confirmation.
Definition at line 812 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, ilUtil\sendInfo(), and setHeader().
|
protected |
Delete own account dialog - login redirect.
Definition at line 840 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - final confirmation.
Definition at line 891 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - action incl.
notification email
Definition at line 918 of file class.ilPersonalSettingsGUI.php.
References $GLOBALS, $ilLog, $ilSetting, $ilUser, $message, array, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\redirect(), ilDatePresentation\setUseRelativeDates(), and time.
|
protected |
Definition at line 873 of file class.ilPersonalSettingsGUI.php.
References $GLOBALS, $ilUser, ilUtil\redirect(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
ilPersonalSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 45 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, allowPasswordChange(), array, ilMailGlobalServices\getMailObjectRefId(), and setHeader().
ilPersonalSettingsGUI::initGeneralSettingsForm | ( | ) |
Init general settings form.
Definition at line 428 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, $options, $si, $style, ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_getShortTimeZoneList(), ilSystemStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), array, ilCharSelectorConfig\CONTEXT_USER, date, ilCalendarSettings\DATE_FORMAT_DMY, ilCalendarSettings\DATE_FORMAT_MDY, ilCalendarSettings\DATE_FORMAT_YMD, ilBuddySystem\getInstance(), ilUserUtil\getPersonalStartingObject(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getPossibleStartingPoints(), ilSession\getSessionExpireValue(), ilUserUtil\hasPersonalStartingPoint(), ilUserUtil\hasPersonalStartPointPref(), ilSessionReminder\MIN_LEAD_TIME, ilDatePresentation\secondsToString(), ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), settings(), 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().
ilPersonalSettingsGUI::initPasswordForm | ( | ) |
Init password form.
int | $a_mode | Edit Mode |
Definition at line 205 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, ilDAVActivationChecker\_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 693 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), ilCharSelectorConfig\CONTEXT_USER, ilBuddySystem\getInstance(), ilUserUtil\hasPersonalStartingPoint(), initGeneralSettingsForm(), ilUtil\sendSuccess(), ilUserUtil\setPersonalStartingPoint(), showGeneralSettings(), ilUtil\stripSlashes(), and workWithUserSetting().
ilPersonalSettingsGUI::savePassword | ( | ) |
Save password form.
Definition at line 285 of file class.ilPersonalSettingsGUI.php.
References $_POST, $error, $ilCtrl, $ilSetting, $ilUser, $lng, $target, $tpl, allowPasswordChange(), AUTH_LOCAL, ilSession\get(), ilUserPasswordManager\getInstance(), initPasswordForm(), ilUtil\isPassword(), ilUtil\isPasswordValidForUserContext(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSession\set(), showPassword(), and ilUtil\stripSlashes().
ilPersonalSettingsGUI::setHeader | ( | ) |
Set header.
Definition at line 159 of file class.ilPersonalSettingsGUI.php.
Referenced by deleteOwnAccount1(), deleteOwnAccount2(), deleteOwnAccount3(), executeCommand(), showGeneralSettings(), and showPassword().
ilPersonalSettingsGUI::showGeneralSettings | ( | $a_no_init = false | ) |
General settings form.
Definition at line 408 of file class.ilPersonalSettingsGUI.php.
References initGeneralSettingsForm(), and setHeader().
Referenced by saveGeneralSettings().
ilPersonalSettingsGUI::showPassword | ( | $a_no_init = false , |
|
$hide_form = false |
|||
) |
bool | $a_no_init | |
bool | $hide_form |
Definition at line 173 of file class.ilPersonalSettingsGUI.php.
References $ilUser, initPasswordForm(), ilUtil\sendInfo(), and setHeader().
Referenced by savePassword().
ilPersonalSettingsGUI::userSettingEnabled | ( | $setting | ) |
Returns TRUE if user setting is enabled, FALSE otherwise.
Definition at line 396 of file class.ilPersonalSettingsGUI.php.
References $result, and settings().
ilPersonalSettingsGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 382 of file class.ilPersonalSettingsGUI.php.
References $result, and settings().
Referenced by initGeneralSettingsForm().
ilPersonalSettingsGUI::workWithUserSetting | ( | $setting | ) |
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
Definition at line 366 of file class.ilPersonalSettingsGUI.php.
References $result, and settings().
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(), initGeneralSettingsForm(), initPasswordForm(), saveGeneralSettings(), and savePassword().
ilPersonalSettingsGUI::$tpl |
Definition at line 13 of file class.ilPersonalSettingsGUI.php.
Referenced by __construct(), saveGeneralSettings(), and savePassword().