28 $rbacsystem =
$DIC[
'rbacsystem'];
31 include_once
'./Services/User/classes/class.ilUserDefinedFields.php';
40 $lng->loadLanguageModule(
'chatroom');
41 $lng->loadLanguageModule(
'chatroom_adm');
42 $this->upload_error =
"";
43 $this->password_error =
"";
44 $lng->loadLanguageModule(
"user");
45 $ilCtrl->saveParameter($this,
"user_page");
55 $next_class = $this->ctrl->getNextClass();
57 switch ($next_class) {
58 case 'ilmailoptionsgui':
59 require_once
'Services/Mail/classes/class.ilMailGlobalServices.php';
61 $this->
ilias->raiseError($DIC->language()->txt(
'permission_denied'), $this->ilias->error_obj->MESSAGE);
64 $this->__initSubTabs(
'showMailOptions');
65 $DIC->tabs()->activateTab(
'mail_settings');
68 require_once
'Services/Mail/classes/class.ilMailOptionsGUI.php';
72 case 'ilpersonalchatsettingsformgui':
73 $this->__initSubTabs($this->ctrl->getCmd());
76 require_once
'Modules/Chatroom/classes/class.ilPersonalChatSettingsFormGUI.php';
78 $this->ctrl->forwardCommand($chatSettingsGui);
82 $cmd = $this->ctrl->getCmd(
"showGeneralSettings");
90 public function __initSubTabs($a_cmd)
97 $ilTabs =
$DIC[
'ilTabs'];
99 $ilHelp =
$DIC[
'ilHelp'];
100 $rbacsystem =
$DIC[
'rbacsystem'];
103 $ilHelp->setScreenIdComponent(
"user");
105 $showPassword = ($a_cmd ==
'showPassword') ?
true :
false;
106 $showGeneralSettings = ($a_cmd ==
'showGeneralSettings') ?
true :
false;
113 $this->ctrl->getLinkTarget($this,
"showGeneralSettings"),
124 $this->ctrl->getLinkTarget($this,
"showPassword"),
132 require_once
'Services/Mail/classes/class.ilMailGlobalServices.php';
134 $this->ctrl->setParameter($this,
'referrer',
'ilPersonalSettingsGUI');
138 $this->ctrl->getLinkTargetByClass(
'ilMailOptionsGUI'),
140 array(
'ilMailOptionsGUI')
144 require_once
'Modules/Chatroom/classes/class.ilPersonalChatSettingsFormGUI.php';
146 if ($chatSettingsGui->isAccessible()) {
150 $this->ctrl->getLinkTarget($chatSettingsGui,
'showChatOptions'),
152 'ilPersonalChatSettingsFormGUI',
154 method_exists($chatSettingsGui, $a_cmd)
158 include_once
"./Services/Administration/classes/class.ilSetting.php";
160 if ((
bool)
$ilSetting->get(
'user_delete_own_account') &&
161 $ilUser->getId() != SYSTEM_USER_ID) {
164 $this->lng->txt(
'user_delete_own_account'),
165 $this->ctrl->getLinkTarget($this,
"deleteOwnAccount1")
175 $this->tpl->setVariable(
'HEADER', $this->lng->txt(
'personal_settings'));
191 $ilTabs =
$DIC[
'ilTabs'];
194 $this->__initSubTabs(
"showPersonalData");
195 $ilTabs->activateTab(
"password");
200 if (
$ilUser->isPasswordChangeDemanded()) {
202 $this->lng->txt(
'password_change_on_first_login_demand')
204 } elseif (
$ilUser->isPasswordExpired()) {
205 $msg = $this->lng->txt(
'password_expired');
206 $password_age =
$ilUser->getPasswordAge();
210 if (!$a_no_init && !$hide_form) {
213 $this->tpl->setContent(!$hide_form ? $this->form->getHTML() :
'');
230 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
241 $pw_info_set =
false;
246 $cpass->setRetype(
false);
247 $cpass->setSkipSyntaxCheck(
true);
253 $cpass->setRequired(
true);
255 $this->form->addItem($cpass);
260 if($pw_info_set ===
false) {
263 $ipass->setRequired(
true);
265 $this->form->addItem($ipass);
266 $this->form->addCommandButton(
"savePassword",
$lng->txt(
"save"));
268 switch (
$ilUser->getAuthMode(
true)) {
270 $this->form->setTitle(
$lng->txt(
"chg_password"));
275 require_once(
'Services/WebDAV/classes/class.ilDAVActivationChecker.php');
277 $this->form->setTitle(
$lng->txt(
"chg_ilias_and_webfolder_password"));
279 $this->form->setTitle(
$lng->txt(
"chg_ilias_password"));
283 $this->form->setTitle(
$lng->txt(
"chg_ilias_password"));
286 $this->form->setFormAction($this->ctrl->getFormAction($this));
308 return \ilAuthUtils::isPasswordModificationHidden() && (
$ilUser->isPasswordChangeDemanded() ||
$ilUser->isPasswordExpired());
327 $ilCtrl->redirect($this,
"showPersonalData");
332 if ($this->form->checkInput()) {
333 $cp = $this->form->getItemByPostVar(
"current_password");
334 $np = $this->form->getItemByPostVar(
"new_password");
340 #if ($ilUser->getAuthMode(true) != AUTH_SHIBBOLETH || ! $ilSetting->get("shib_auth_allow_local"))
342 require_once
'Services/User/classes/class.ilUserPasswordManager.php';
345 $cp->setAlert($this->lng->txt(
'passwd_wrong'));
351 if ($custom_error !=
'') {
352 $np->setAlert($custom_error);
354 $np->setAlert($this->lng->txt(
"passwd_invalid"));
360 $np->setAlert($this->lng->txt($error_lng_var));
364 (
$ilUser->isPasswordExpired() ||
$ilUser->isPasswordChangeDemanded()) &&
367 $np->setAlert($this->lng->txt(
"new_pass_equals_old_pass"));
372 if (
$_POST[
"current_password"] !=
$_POST[
"new_password"]) {
373 $ilUser->setLastPasswordChangeToNow();
377 ilUtil::sendSuccess($this->lng->txt(
'saved_successfully'),
true);
382 ilUtil::sendSuccess($this->lng->txt(
'saved_successfully'));
388 $this->form->setValuesByPost();
405 if ($this->
settings[
"usr_settings_hide_" . $setting] == 1) {
408 if ($this->
settings[
"usr_settings_disable_" . $setting] == 1) {
421 if (isset($this->
settings[
"usr_settings_hide_" . $setting]) &&
422 $this->
settings[
"usr_settings_hide_" . $setting] == 1) {
435 if ($this->
settings[
"usr_settings_disable_" . $setting] == 1) {
448 $ilTabs =
$DIC[
'ilTabs'];
450 $this->__initSubTabs(
"showPersonalData");
451 $ilTabs->activateTab(
"general_settings");
458 $this->tpl->setContent($this->form->getHTML());
472 $styleDefinition =
$DIC[
'styleDefinition'];
476 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
481 $languages = $this->lng->getInstalledLanguages();
490 $si->setDisabled(
$ilSetting->get(
"usr_settings_disable_language"));
491 $this->form->addItem(
$si);
496 $skins = $styleDefinition->getAllSkins();
497 if (is_array($skins)) {
501 foreach ($skins as $skin) {
502 foreach ($skin->getStyles() as
$style) {
503 include_once(
"./Services/Style/System/classes/class.ilSystemStyleSettings.php");
508 $options[$skin->getId() .
":" .
$style->getId()] = $skin->getName() .
" / " .
$style->getName();
513 $si->setDisabled(
$ilSetting->get(
"usr_settings_disable_skin_style"));
514 $this->form->addItem(
$si);
520 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"user_screen_reader_optimization"),
"screen_reader_optimization");
521 $cb->setChecked(
$ilUser->prefs[
"screen_reader_optimization"]);
522 $cb->setDisabled(
$ilSetting->get(
"usr_settings_disable_screen_reader_optimization"));
523 $cb->setInfo($this->lng->txt(
"user_screen_reader_optimization_info"));
524 $this->form->addItem($cb);
528 $module_id = (int)
$ilSetting->get(
"help_module");
529 if ((OH_REF_ID > 0 || $module_id > 0) &&
$ilUser->getLanguage() ==
"de" &&
531 $this->lng->loadLanguageModule(
"help");
532 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"help_toggle_tooltips"),
"help_tooltips");
533 $cb->setChecked(!
$ilUser->prefs[
"hide_help_tt"]);
534 $cb->setInfo($this->lng->txt(
"help_toggle_tooltips_info"));
535 $this->form->addItem($cb);
542 $hits_options = array(10,15,20,30,40,50,100,9999);
545 foreach ($hits_options as $hits_option) {
546 $hstr = ($hits_option == 9999)
547 ? $this->lng->txt(
"no_limit")
552 $si->setValue(
$ilUser->prefs[
"hits_per_page"]);
553 $si->setDisabled(
$ilSetting->get(
"usr_settings_disable_hits_per_page"));
554 $this->form->addItem(
$si);
574 $lv =
new ilSelectInputGUI($this->lng->txt(
"user_store_last_visited"),
"store_last_visited");
576 0 => $this->lng->txt(
"user_lv_keep_entries"),
577 1 => $this->lng->txt(
"user_lv_keep_only_for_session"),
578 2 => $this->lng->txt(
"user_lv_do_not_store"));
580 $lv->setValue((
int)
$ilUser->prefs[
"store_last_visited"]);
581 $this->form->addItem($lv);
585 if ($awrn_set->get(
"awrn_enabled",
false) && $this->userSettingVisible(
"hide_own_online_status")) {
586 $this->lng->loadLanguageModule(
"awrn");
589 ? $this->lng->txt(
"user_awrn_show")
590 : $this->lng->txt(
"user_awrn_hide");
593 "" => $this->lng->txt(
"user_awrn_default").
" (".
$default.
")",
594 "n" => $this->lng->txt(
"user_awrn_show"),
595 "y" => $this->lng->txt(
"user_awrn_hide"));
598 $si->setDisabled(
$ilSetting->get(
"usr_settings_disable_hide_own_online_status"));
599 $si->setValue(
$ilUser->prefs[
"hide_own_online_status"]);
600 $si->setInfo(
$lng->txt(
"awrn_hide_from_awareness_info"));
601 $this->form->addItem(
$si);
603 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"awrn_hide_from_awareness"),
"hide_own_online_status");
604 $cb->setInfo($this->lng->txt(
"awrn_hide_from_awareness_info"));
605 $cb->setChecked(
$ilUser->prefs[
"hide_own_online_status"] ==
"y");
606 $cb->setDisabled(
$ilSetting->get(
"usr_settings_disable_hide_own_online_status"));
610 require_once
'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
612 $this->lng->loadLanguageModule(
'buddysystem');
613 $allow_to_contact_be =
new ilCheckboxInputGUI($this->lng->txt(
'buddy_allow_to_contact_me'),
'bs_allow_to_contact_me');
614 $allow_to_contact_be->setInfo($this->lng->txt(
'buddy_allow_to_contact_me_info'));
615 $allow_to_contact_be->setChecked(
$ilUser->prefs[
'bs_allow_to_contact_me'] ==
'y');
616 $allow_to_contact_be->setDisabled(
$ilSetting->get(
'usr_settings_disable_bs_allow_to_contact_me'));
617 $this->form->addItem($allow_to_contact_be);
620 include_once
'Services/Authentication/classes/class.ilSessionReminder.php';
621 if (ilSessionReminder::isGloballyActivated()) {
622 $cb =
new ilCheckboxInputGUI($this->lng->txt(
'session_reminder'),
'session_reminder_enabled');
623 $cb->setInfo($this->lng->txt(
'session_reminder_info'));
625 $cb->setChecked((
int)
$ilUser->getPref(
'session_reminder_enabled'));
628 $lead_time_gui =
new ilNumberInputGUI($this->lng->txt(
'session_reminder_lead_time'),
'session_reminder_lead_time');
632 $max_value = max($min_value, ((
int) $expires / 60) - 1);
634 $current_user_value =
$ilUser->getPref(
'session_reminder_lead_time');
635 if ($current_user_value < $min_value ||
636 $current_user_value > $max_value) {
647 $lead_time_gui->setValue($value);
648 $lead_time_gui->setSize(3);
649 $lead_time_gui->setMinValue($min_value);
650 $lead_time_gui->setMaxValue($max_value);
651 $cb->addSubItem($lead_time_gui);
653 $this->form->addItem($cb);
659 include_once(
'Services/Calendar/classes/class.ilCalendarUserSettings.php');
660 include_once(
'Services/Calendar/classes/class.ilCalendarUtil.php');
661 $lng->loadLanguageModule(
"dateplaner");
666 $select->setInfo(
$lng->txt(
'cal_timezone_info'));
667 $select->setValue($user_settings->getTimeZone());
668 $this->form->addItem($select);
672 $select->setOptions(array(
676 $select->setInfo(
$lng->txt(
'cal_date_format_info'));
677 $select->setValue($user_settings->getDateFormat());
678 $this->form->addItem($select);
681 $select->setOptions(array(
684 $select->setInfo(
$lng->txt(
'cal_time_format_info'));
685 $select->setValue($user_settings->getTimeFormat());
686 $this->form->addItem($select);
690 include_once
"Services/User/classes/class.ilUserUtil.php";
692 $this->lng->loadLanguageModule(
"administration");
694 $si->setRequired(
true);
695 $si->setInfo($this->lng->txt(
"adm_user_starting_point_info"));
696 $def_opt =
new ilRadioOption($this->lng->txt(
"adm_user_starting_point_inherit"), 0);
697 $def_opt->setInfo($this->lng->txt(
"adm_user_starting_point_inherit_info"));
698 $si->addOption($def_opt);
705 $this->form->addItem(
$si);
709 $repobj_id =
new ilTextInputGUI(
$lng->txt(
"adm_user_starting_point_ref_id"),
"usr_start_ref_id");
710 $repobj_id->setInfo(
$lng->txt(
"adm_user_starting_point_ref_id_info"));
711 $repobj_id->setRequired(
true);
712 $repobj_id->setSize(5);
715 $repobj_id->setValue($start_ref_id);
724 $repobj->addSubItem($repobj_id);
725 $si->addOption($repobj);
732 if (
$ilSetting->get(
'char_selector_availability') > 0) {
733 require_once
'Services/UIComponent/CharSelector/classes/class.ilCharSelectorGUI.php';
735 $char_selector->getConfig()->setAvailability(
$ilUser->getPref(
'char_selector_availability'));
736 $char_selector->getConfig()->setDefinition(
$ilUser->getPref(
'char_selector_definition'));
737 $char_selector->addFormProperties($this->form);
738 $char_selector->setFormValues($this->form);
741 $this->form->addCommandButton(
"saveGeneralSettings",
$lng->txt(
"save"));
742 $this->form->setTitle(
$lng->txt(
"general_settings"));
743 $this->form->setFormAction($this->ctrl->getFormAction($this));
760 if ($this->form->checkInput()) {
763 if (
$_POST[
"skin_style"] !=
"") {
764 $sknst = explode(
":",
$_POST[
"skin_style"]);
766 if (
$ilUser->getPref(
"style") != $sknst[1] ||
767 $ilUser->getPref(
"skin") != $sknst[0]) {
768 $ilUser->setPref(
"skin", $sknst[0]);
769 $ilUser->setPref(
"style", $sknst[1]);
781 if (
$_POST[
"hits_per_page"] !=
"") {
787 $module_id = (int)
$ilSetting->get(
"help_module");
788 if ((OH_REF_ID > 0 || $module_id > 0) &&
$ilUser->getLanguage() ==
"de" &&
790 $ilUser->setPref(
"hide_help_tt", (
int) !
$_POST[
"help_tooltips"]);
803 $ilNavigationHistory =
$DIC[
'ilNavigationHistory'];
804 $ilUser->setPref(
"store_last_visited", (
int)
$_POST[
"store_last_visited"]);
805 if ((
int)
$_POST[
"store_last_visited"] > 0) {
806 $ilNavigationHistory->deleteDBEntries();
807 if ((
int)
$_POST[
"store_last_visited"] == 2) {
808 $ilNavigationHistory->deleteSessionEntries();
822 require_once
'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
824 if (isset(
$_POST[
'bs_allow_to_contact_me']) &&
$_POST[
'bs_allow_to_contact_me'] == 1) {
825 $ilUser->setPref(
'bs_allow_to_contact_me',
'y');
827 $ilUser->setPref(
'bs_allow_to_contact_me',
'n');
833 $ilUser->setPref(
"screen_reader_optimization",
$_POST[
"screen_reader_optimization"]);
837 include_once
'Services/Authentication/classes/class.ilSessionReminder.php';
838 if (ilSessionReminder::isGloballyActivated()) {
839 $ilUser->setPref(
'session_reminder_enabled', (
int) $this->form->getInput(
'session_reminder_enabled'));
840 $ilUser->setPref(
'session_reminder_lead_time', $this->form->getInput(
'session_reminder_lead_time'));
844 include_once
"Services/User/classes/class.ilUserUtil.php";
847 $this->form->getInput(
'usr_start'),
848 $this->form->getInput(
'usr_start_ref_id')
856 if (
$ilSetting->get(
'char_selector_availability') > 0) {
857 require_once
'Services/UIComponent/CharSelector/classes/class.ilCharSelectorGUI.php';
859 $char_selector->getFormValues($this->form);
860 $ilUser->setPref(
'char_selector_availability', $char_selector->getConfig()->getAvailability());
861 $ilUser->setPref(
'char_selector_definition', $char_selector->getConfig()->getDefinition());
867 include_once(
'Services/Calendar/classes/class.ilCalendarUserSettings.php');
869 $user_settings->setTimeZone($this->form->getInput(
"timezone"));
870 $user_settings->setDateFormat((
int) $this->form->getInput(
"date_format"));
871 $user_settings->setTimeFormat((
int) $this->form->getInput(
"time_format"));
872 $user_settings->save();
874 ilUtil::sendSuccess(
$lng->txtlng(
"common",
"msg_obj_modified",
$ilUser->getLanguage()),
true);
875 $ilCtrl->redirect($this,
"showGeneralSettings");
878 $this->form->setValuesByPost();
889 $ilTabs =
$DIC[
'ilTabs'];
890 $ilToolbar =
$DIC[
'ilToolbar'];
894 if (!(
bool)
$ilSetting->get(
'user_delete_own_account') ||
895 $ilUser->getId() == SYSTEM_USER_ID) {
896 $this->ctrl->redirect($this,
"showGeneralSettings");
903 $this->__initSubTabs(
"deleteOwnAccount");
904 $ilTabs->activateTab(
"delacc");
907 $ilToolbar->addButton(
908 $this->lng->txt(
'btn_next'),
909 $this->ctrl->getLinkTarget($this,
'deleteOwnAccount2')
922 $ilTabs =
$DIC[
'ilTabs'];
926 if (!(
bool)
$ilSetting->get(
'user_delete_own_account') ||
927 $ilUser->getId() == SYSTEM_USER_ID) {
928 $this->ctrl->redirect($this,
"showGeneralSettings");
932 $this->__initSubTabs(
"deleteOwnAccount");
933 $ilTabs->activateTab(
"delacc");
935 include_once
"Services/Utilities/classes/class.ilConfirmationGUI.php";
937 $cgui->setHeaderText($this->lng->txt(
'user_delete_own_account_logout_confirmation'));
938 $cgui->setFormAction($this->ctrl->getFormAction($this));
939 $cgui->setCancel($this->lng->txt(
"cancel"),
"abortDeleteOwnAccount");
940 $cgui->setConfirm($this->lng->txt(
"user_delete_own_account_logout_button"),
"deleteOwnAccountLogout");
941 $this->tpl->setContent($cgui->getHTML());
955 $ilCtrl->redirect($this,
"showGeneralSettings");
966 $ilUser->activateDeletionFlag();
970 $GLOBALS[
'DIC'][
'ilAuthSession']->logout();
982 $ilTabs =
$DIC[
'ilTabs'];
986 if (!(
bool)
$ilSetting->get(
'user_delete_own_account') ||
987 $ilUser->getId() == SYSTEM_USER_ID ||
989 $this->ctrl->redirect($this,
"showGeneralSettings");
993 $this->__initSubTabs(
"deleteOwnAccount");
994 $ilTabs->activateTab(
"delacc");
996 include_once
"Services/Utilities/classes/class.ilConfirmationGUI.php";
998 $cgui->setHeaderText($this->lng->txt(
'user_delete_own_account_final_confirmation'));
999 $cgui->setFormAction($this->ctrl->getFormAction($this));
1000 $cgui->setCancel($this->lng->txt(
"cancel"),
"abortDeleteOwnAccount");
1001 $cgui->setConfirm($this->lng->txt(
"confirm"),
"deleteOwnAccount4");
1002 $this->tpl->setContent($cgui->getHTML());
1017 if (!(
bool)
$ilSetting->get(
'user_delete_own_account') ||
1018 $ilUser->getId() == SYSTEM_USER_ID ||
1019 !
$ilUser->hasDeletionFlag()) {
1020 $this->ctrl->redirect($this,
"showGeneralSettings");
1025 include_once
"./Services/Notification/classes/class.ilSystemNotification.php";
1027 $ntf->setLangModules(array(
"user"));
1028 $ntf->addAdditionalInfo(
"profile",
$ilUser->getProfileAsString($this->lng),
true);
1032 $ntf->setIntroductionDirect(
1034 $this->lng->txt(
"user_delete_own_account_email_body"),
1041 $message = $ntf->composeAndGetMessage(
$ilUser->getId(),
null,
null,
true);
1042 $subject = $this->lng->txt(
"user_delete_own_account_email_subject");
1047 include_once
"Services/Mail/classes/class.ilMail.php";
1048 $mail =
new ilMail(ANONYMOUS_USER_ID);
1050 $user_email =
$ilUser->getEmail();
1051 $admin_mail =
$ilSetting->get(
"user_delete_own_account_email");
1055 $mail->sendMimeMail($user_email,
null, $admin_mail, $subject,
$message,
null,
true);
1058 elseif ($admin_mail) {
1059 $mail->sendMimeMail($admin_mail,
null,
null, $subject,
$message,
null,
true);
1067 $GLOBALS[
'DIC'][
'ilAuthSession']->logout();
An exception for terminatinating execution or to throw for unit testing.
static isPasswordModificationEnabled($a_authmode)
Check if password modification is enabled.
static _getInstanceByUserId($a_user_id)
get singleton instance
static _getShortTimeZoneList()
get short timezone list
This shows a character selector.
Confirmation screen class.
static _isActive()
Static getter.
static secondsToString($seconds, $force_with_seconds=false, $a_lng=null)
converts seconds to string: Long: 7 days 4 hour(s) ...
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date @access public.
static setUseRelativeDates($a_status)
set use relative dates
@classDescription Date and time handling
static _lookupEntry($a_lang_key, $a_mod, $a_id)
static getMailObjectRefId()
Determines the reference id of the mail object and stores this information in a local cache variable.
static _lookupObjId($a_id)
static _lookupTitle($a_id)
lookup object title
static _lookupType($a_id, $a_reference=false)
lookup object type
GUI class for personal profile.
initGeneralSettingsForm()
Init general settings form.
userSettingEnabled($setting)
Returns TRUE if user setting is enabled, FALSE otherwise.
deleteOwnAccount4()
Delete own account dialog - action incl.
deleteOwnAccount1()
Delete own account dialog - 1st confirmation.
deleteOwnAccount2()
Delete own account dialog - login redirect.
savePassword()
Save password form.
deleteOwnAccount3()
Delete own account dialog - final confirmation.
initPasswordForm()
Init password form.
allowPasswordChange()
Check, whether password change is allowed for user.
userSettingVisible($setting)
Returns TRUE if user setting is visible, FALSE otherwise.
saveGeneralSettings()
Save general settings.
showPassword($a_no_init=false, $hide_form=false)
executeCommand()
execute command
workWithUserSetting($setting)
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
showGeneralSettings($a_no_init=false)
General settings form.
This class represents an option in a radio group.
const SUGGESTED_LEAD_TIME
static set($a_var, $a_val)
Set a value.
static setClosingContext($a_context)
set closing context (for statistics)
static get($a_var)
Get a value.
static getSessionExpireValue()
Returns the session expiration value.
Wrapper classes for system notifications.
static _lookupActivatedStyle($a_skin, $a_style)
lookup if a style is activated
This class represents a text property in a property form.
static _getInstance()
Get instance.
static getInstance()
Single method to reduce footprint (included files, created instances)
static getPersonalStartingObject()
Get ref id of personal starting object.
static getPossibleStartingPoints($a_force_all=false)
Get all valid starting points.
static hasPersonalStartPointPref()
Did user set any personal starting point (yet)?
static hasPersonalStartingPoint()
Can starting point be personalized?
static getPersonalStartingPoint()
Get current personal starting point.
static setPersonalStartingPoint($a_value, $a_ref_id=null)
Set personal starting point setting.
const START_REPOSITORY_OBJ
static redirect($a_script)
static isPassword($a_passwd, &$customError=null)
validates a password @access public
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static getPasswordRequirementsInfo()
infotext for ilPasswordInputGUI setInfo()
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static isPasswordValidForUserContext($clear_text_password, $user, &$error_language_variable=null)
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
catch(Exception $e) $message
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
redirection script todo: (a better solution should control the processing via a xml file)