|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
GUI class for personal profile. More...
Collaboration diagram for ilPersonalSettingsGUI: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... | |
Private Member Functions | |
| initMailOptionsForm () | |
| Initialises the mail options form. More... | |
| setMailOptionsValuesByDB () | |
| Fetches data from model and loads this data into form. 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, and ilUserDefinedFields\_getInstance().
Here is the call graph for this function:
|
protected |
Definition at line 1254 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilUser, and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Check, whether password change is allowed for user.
Definition at line 591 of file class.ilPersonalSettingsGUI.php.
References $ilUser, ilSession\get(), and ilAuthUtils\isPasswordModificationEnabled().
Referenced by initPasswordForm(), and savePassword().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Delete own account dialog - 1st confirmation.
Definition at line 1203 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, ilUtil\sendInfo(), and setHeader().
Here is the call graph for this function:
|
protected |
Delete own account dialog - login redirect.
Definition at line 1230 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
Here is the call graph for this function:
|
protected |
Delete own account dialog - final confirmation.
Definition at line 1283 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, and setHeader().
Here is the call graph for this function:
|
protected |
Delete own account dialog - action incl.
notification email
Definition at line 1311 of file class.ilPersonalSettingsGUI.php.
References $ilLog, $ilSetting, $ilUser, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\redirect(), and ilDatePresentation\setUseRelativeDates().
Here is the call graph for this function:
|
protected |
Definition at line 1264 of file class.ilPersonalSettingsGUI.php.
References $ilUser, ilUtil\redirect(), ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
Here is the call graph for this function:| & ilPersonalSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 45 of file class.ilPersonalSettingsGUI.php.
| ilPersonalSettingsGUI::initGeneralSettingsForm | ( | ) |
Init general settings form.
Definition at line 791 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, $options, $si, $style, ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_getShortTimeZoneList(), ilObjStyleSettings\_lookupActivatedStyle(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilFormat\_secondsToString(), 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, ilUserUtil\START_REPOSITORY_OBJ, ilSessionReminder\SUGGESTED_LEAD_TIME, ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and userSettingVisible().
Referenced by saveGeneralSettings(), and showGeneralSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Initialises the mail options form.
Definition at line 129 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $options, $si, ilObjUser\_lookupEmail(), IL_MAIL_BOTH, IL_MAIL_EMAIL, and IL_MAIL_LOCAL.
Here is the call graph for this function:| ilPersonalSettingsGUI::initPasswordForm | ( | ) |
Init password form.
| int | $a_mode | Edit Mode |
Definition at line 513 of file class.ilPersonalSettingsGUI.php.
References $ilSetting, $ilUser, $lng, ilDAVServer\_isActive(), allowPasswordChange(), AUTH_CAS, AUTH_LOCAL, AUTH_SHIBBOLETH, and ilUtil\getPasswordRequirementsInfo().
Referenced by savePassword(), and showPassword().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSettingsGUI::saveGeneralSettings | ( | ) |
Save general settings.
Definition at line 1066 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(), and workWithUserSetting().
Here is the call graph for this function:| ilPersonalSettingsGUI::savePassword | ( | ) |
Save password form.
Definition at line 611 of file class.ilPersonalSettingsGUI.php.
References $_POST, $ilCtrl, $ilSetting, $ilUser, $lng, $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().
Here is the call graph for this function:| ilPersonalSettingsGUI::setHeader | ( | ) |
Set header.
Definition at line 420 of file class.ilPersonalSettingsGUI.php.
Referenced by deleteOwnAccount1(), deleteOwnAccount2(), deleteOwnAccount3(), showGeneralSettings(), and showPassword().
Here is the caller graph for this function:
|
private |
Fetches data from model and loads this data into form.
Definition at line 189 of file class.ilPersonalSettingsGUI.php.
References $data, $ilSetting, and $ilUser.
| ilPersonalSettingsGUI::showGeneralSettings | ( | $a_no_init = false | ) |
General settings form.
Definition at line 766 of file class.ilPersonalSettingsGUI.php.
References $ilCtrl, initGeneralSettingsForm(), and setHeader().
Referenced by saveGeneralSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSettingsGUI::showPassword | ( | $a_no_init = false, |
|
$hide_form = false |
|||
| ) |
| bool | $a_no_init | |
| bool | $hide_form |
Definition at line 477 of file class.ilPersonalSettingsGUI.php.
References $ilUser, initPasswordForm(), ilUtil\sendInfo(), and setHeader().
Referenced by savePassword().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalSettingsGUI::userSettingEnabled | ( | $setting | ) |
Returns TRUE if user setting is enabled, FALSE otherwise.
Definition at line 753 of file class.ilPersonalSettingsGUI.php.
References $result.
| ilPersonalSettingsGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 738 of file class.ilPersonalSettingsGUI.php.
References $result.
Referenced by initGeneralSettingsForm().
Here is the caller graph for this function:| ilPersonalSettingsGUI::workWithUserSetting | ( | $setting | ) |
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
Definition at line 720 of file class.ilPersonalSettingsGUI.php.
References $result.
Referenced by saveGeneralSettings().
Here is the caller graph for this function:| 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().