ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 $DIC, $ilCtrl, $ilias, $lng, $tpl, ilUserDefinedFields\_getInstance(), and settings().
|
protected |
Definition at line 945 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilCtrl, $ilUser, and ilUtil\sendInfo().
|
protected |
Check, whether password change is allowed for user.
Definition at line 293 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilUser, ilSession\get(), and ilAuthUtils\isPasswordModificationEnabled().
Referenced by executeCommand(), initPasswordForm(), and savePassword().
|
protected |
Delete own account dialog - 1st confirmation.
Definition at line 885 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, ilUtil\sendInfo(), and setHeader().
|
protected |
Delete own account dialog - login redirect.
Definition at line 918 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - final confirmation.
Definition at line 978 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, and setHeader().
|
protected |
Delete own account dialog - action incl.
notification email
Definition at line 1009 of file class.ilPersonalSettingsGUI.php.
References $DIC, $GLOBALS, $ilLog, $ilSetting, $ilUser, $message, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\redirect(), and ilDatePresentation\setUseRelativeDates().
|
protected |
Definition at line 958 of file class.ilPersonalSettingsGUI.php.
References $DIC, $GLOBALS, $ilUser, ilUtil\redirect(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
ilPersonalSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 51 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, allowPasswordChange(), ilMailGlobalServices\getMailObjectRefId(), and setHeader().
ilPersonalSettingsGUI::initGeneralSettingsForm | ( | ) |
Init general settings form.
Definition at line 466 of file class.ilPersonalSettingsGUI.php.
References $default, $DIC, $ilSetting, $ilUser, $languages, $lng, PHPMailer\PHPMailer\$options, $si, $style, ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_getShortTimeZoneList(), ilSystemStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilCharSelectorConfig\CONTEXT_USER, 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 222 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilSetting, $ilUser, $lng, ilDAVActivationChecker\_isActive(), allowPasswordChange(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, ilUtil\getPasswordRequirementsInfo(), and ilFormPropertyGUI\setInfo().
Referenced by savePassword(), and showPassword().
ilPersonalSettingsGUI::saveGeneralSettings | ( | ) |
Save general settings.
Definition at line 749 of file class.ilPersonalSettingsGUI.php.
References $_POST, $DIC, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), ilCharSelectorConfig\CONTEXT_USER, ilBuddySystem\getInstance(), ilUserUtil\hasPersonalStartingPoint(), initGeneralSettingsForm(), ilUserUtil\setPersonalStartingPoint(), showGeneralSettings(), ilUtil\stripSlashes(), and workWithUserSetting().
ilPersonalSettingsGUI::savePassword | ( | ) |
Save password form.
Definition at line 315 of file class.ilPersonalSettingsGUI.php.
References $_POST, $DIC, $ilCtrl, $ilSetting, $ilUser, $lng, $target, $tpl, allowPasswordChange(), AUTH_LOCAL, ilSession\get(), ilUserPasswordManager\getInstance(), initPasswordForm(), ilUtil\isPassword(), ilUtil\isPasswordValidForUserContext(), ilUtil\redirect(), ilUtil\sendFailure(), ilSession\set(), showPassword(), and ilUtil\stripSlashes().
ilPersonalSettingsGUI::setHeader | ( | ) |
Set header.
Definition at line 173 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 444 of file class.ilPersonalSettingsGUI.php.
References $DIC, 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 187 of file class.ilPersonalSettingsGUI.php.
References $DIC, $ilUser, initPasswordForm(), ilUtil\sendInfo(), and setHeader().
Referenced by savePassword().
ilPersonalSettingsGUI::userSettingEnabled | ( | $setting | ) |
Returns TRUE if user setting is enabled, FALSE otherwise.
Definition at line 432 of file class.ilPersonalSettingsGUI.php.
References $result, and settings().
ilPersonalSettingsGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 418 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 402 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().