ILIAS
release_4-3 Revision
|
StartUp GUI class. More...
Public Member Functions | |
ilStartUpGUI () | |
constructor | |
& | executeCommand () |
execute command | |
jumpToRegistration () | |
jump to registration gui | |
jumpToPasswordAssistance () | |
jump to password assistance | |
showLogin () | |
show login | |
showFailure ($a_mess) | |
showSuccess ($a_mess) | |
showAccountMigration ($a_message= '') | |
Show account migration screen. | |
migrateAccount () | |
migrate account | |
showLogout () | |
show logout screen | |
showUserMappingSelection () | |
Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known. | |
showClientList () | |
show client list | |
showNoCookiesScreen () | |
show help screen, if cookies are disabled | |
getAcceptance () | |
get user agreement acceptance | |
showUserAgreement () | |
show user agreement | |
processIndexPHP () | |
process index.php | |
processStartingPage () | |
open start page (personal desktop or repository) | |
_checkGoto ($a_target) | |
confirmRegistration () |
Protected Member Functions | |
showCodeForm ($a_username=null, $a_form=null) | |
initCodeForm ($a_username) | |
processCode () | |
showLoginForm ($page_editor_html) | |
Show login form ilSetting $ilSetting. | |
showLoginInformation ($page_editor_html) | |
Show login information. | |
showCASLoginForm ($page_editor_html) | |
Show cas login ilSetting $ilSetting. | |
showShibbolethLoginForm ($page_editor_html) | |
Show shibboleth login form. | |
substituteLoginPageElements ($tpl, $page_editor_html, $element_html, $placeholder, $fallback_tplvar) | |
Substitute login page elements. | |
getLoginPageEditorHTML () | |
Get HTML of ILIAS login page editor. | |
showLanguageSelection ($page_editor_html) | |
Show language selection ilTemplate $tpl. | |
showRegistrationLinks ($page_editor_html) | |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile. | |
showUserAgreementLink ($page_editor_html) | |
Show user agreement link ilLanguage $lng. | |
purgePlaceholders ($page_editor_html) | |
Purge page editor html from unused placeholders. | |
showOpenIdLoginForm ($page_editor_html) | |
Show openid login if enabled. |
StartUp GUI class.
Handles Login and Registration.
Definition at line 13 of file class.ilStartUpGUI.php.
ilStartUpGUI::_checkGoto | ( | $a_target | ) |
Definition at line 1607 of file class.ilStartUpGUI.php.
References $_SESSION, $ilUser, $location, $path, $ref_id, $ret, ilObject\_getAllReferences(), ilObjCourse\_isActivated(), ilGroupParticipants\_isParticipant(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjCourse\_registrationEnabled(), ilParticipants\getDefaultMemberRole(), ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, and ilUtil\redirect().
ilStartUpGUI::confirmRegistration | ( | ) |
Definition at line 1798 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $ilLog, $lng, $usr_id, ilObjUserFolder\_lookupNewAccountMail(), ilObjUser\_verifyRegistrationHash(), ilUtil\generatePasswords(), ilObjectFactory\getInstanceByObjId(), IL_PASSWD_PLAIN, ilUtil\redirect(), and ilUtil\setCookie().
& ilStartUpGUI::executeCommand | ( | ) |
execute command
Definition at line 31 of file class.ilStartUpGUI.php.
Referenced by jumpToPasswordAssistance(), and jumpToRegistration().
ilStartUpGUI::getAcceptance | ( | ) |
get user agreement acceptance
Definition at line 1430 of file class.ilStartUpGUI.php.
References showUserAgreement().
|
protected |
Get HTML of ILIAS login page editor.
Definition at line 734 of file class.ilStartUpGUI.php.
References $lng, $ret, $tpl, ilPageUtil\_existsAndNotEmpty(), ilObjStyleSheet\getContentStylePath(), ilAuthLoginPageEditorSettings\getInstance(), ilObjStyleSheet\getSyntaxStylePath(), and ilLanguage\lookupId().
Referenced by showLogin().
ilStartUpGUI::ilStartUpGUI | ( | ) |
|
protected |
Definition at line 380 of file class.ilStartUpGUI.php.
References $ilCtrl, $lng, and ilFormPropertyGUI\setRequired().
Referenced by processCode(), and showCodeForm().
ilStartUpGUI::jumpToPasswordAssistance | ( | ) |
jump to password assistance
Definition at line 70 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::jumpToRegistration | ( | ) |
jump to registration gui
Definition at line 60 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::migrateAccount | ( | ) |
migrate account
public
Definition at line 1036 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilLog, $lng, ilSession\_destroy(), ilObjUser\_lookupId(), ilAuthFactory\CONTEXT_OPENID, ilAuthFactory\factory(), ilSession\get(), ilUtil\redirect(), ilSession\set(), ilAuthFactory\setContext(), showAccountMigration(), and ilUtil\stripSlashes().
|
protected |
Definition at line 407 of file class.ilStartUpGUI.php.
References $_POST, $ilCtrl, $lng, ilObjUser\_lookupId(), ilAccountCode\getCodeValidUntil(), initCodeForm(), ilAccountCode\isUnusedCode(), showCodeForm(), showLogin(), and ilAccountCode\useCode().
ilStartUpGUI::processIndexPHP | ( | ) |
process index.php
Definition at line 1528 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilIliasIniFile, $ilSetting, ilInitialisation\goToPublicSection(), processStartingPage(), showClientList(), and showLogin().
Referenced by showClientList().
ilStartUpGUI::processStartingPage | ( | ) |
open start page (personal desktop or repository)
precondition: authentication (maybe anonymous) successfull
Definition at line 1568 of file class.ilStartUpGUI.php.
References $_GET, $ilUser, ilPaymentShoppingCart\_assignObjectsToUserId(), ilUserUtil\getStartingPointAsUrl(), ilInitialisation\goToPublicSection(), and ilUtil\redirect().
Referenced by processIndexPHP(), and showLogin().
|
protected |
Purge page editor html from unused placeholders.
string | $page_editor_html |
Definition at line 926 of file class.ilStartUpGUI.php.
Referenced by showLogin().
ilStartUpGUI::showAccountMigration | ( | $a_message = '' | ) |
Show account migration screen.
public
Definition at line 975 of file class.ilStartUpGUI.php.
References $_POST, $lng, $pass, $tpl, ilRadioOption\addSubItem(), ilUtil\getImagePath(), ilUtil\prepareFormOutput(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), and showFailure().
Referenced by migrateAccount().
|
protected |
Show cas login ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 601 of file class.ilStartUpGUI.php.
References $GLOBALS, $ilSetting, $lng, $tpl, ilUtil\getImagePath(), and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showClientList | ( | ) |
show client list
Definition at line 1282 of file class.ilStartUpGUI.php.
References $_GET, $client, $data, $ilCtrl, $ilIliasIniFile, $tpl, exit, ilUtil\getImagePath(), and processIndexPHP().
Referenced by processIndexPHP().
|
protected |
Definition at line 360 of file class.ilStartUpGUI.php.
References $lng, $tpl, ilUtil\getImagePath(), initCodeForm(), and showFailure().
Referenced by processCode(), and showLogin().
ilStartUpGUI::showFailure | ( | $a_mess | ) |
Definition at line 944 of file class.ilStartUpGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by showAccountMigration(), showCodeForm(), showLogin(), and showUserMappingSelection().
|
protected |
Show language selection ilTemplate $tpl.
Definition at line 796 of file class.ilStartUpGUI.php.
References $GLOBALS, $lng, ilLanguage\_lookupEntry(), and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showLogin | ( | ) |
show login
ilLanguage $lng
Definition at line 82 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $_SESSION, $failure, $ilSetting, $lng, $success, $tpl, AUTH_APACHE_FAILED, AUTH_CAS_NO_ILIAS_USER, AUTH_EXPIRED, AUTH_IDLED, AUTH_LDAP_NO_ILIAS_USER, AUTH_MODE_INACTIVE, AUTH_RADIUS_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER_BUT_EMAIL, AUTH_USER_INACTIVE, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, AUTH_WRONG_LOGIN, ilUtil\getImagePath(), getLoginPageEditorHTML(), processStartingPage(), purgePlaceholders(), ilUtil\redirect(), ilSession\SESSION_CLOSE_INACTIVE, ilSession\SESSION_CLOSE_IP, ilSession\SESSION_CLOSE_SIMUL, ilSession\SESSION_CLOSE_TIME, ilSession\set(), ilSession\setClosingContext(), ilUtil\setCookie(), showCASLoginForm(), showCodeForm(), showFailure(), showLanguageSelection(), showLoginForm(), showLoginInformation(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), showSuccess(), showUserAgreementLink(), and showUserMappingSelection().
Referenced by processCode(), and processIndexPHP().
|
protected |
Show login form ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 488 of file class.ilStartUpGUI.php.
References $ilSetting, $lng, $tpl, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), AUTH_CAS, AUTH_SHIBBOLETH, ilPasswordInputGUI\setRetype(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show login information.
string | $page_editor_html |
Definition at line 575 of file class.ilStartUpGUI.php.
Referenced by showLogin().
ilStartUpGUI::showLogout | ( | ) |
show logout screen
Definition at line 1165 of file class.ilStartUpGUI.php.
References $_COOKIE, $client_id, $ilIliasIniFile, $ilSetting, $lng, $tpl, ilUtil\getImagePath(), ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), and ilUtil\setCookie().
ilStartUpGUI::showNoCookiesScreen | ( | ) |
show help screen, if cookies are disabled
to do: link to online help here
Definition at line 1401 of file class.ilStartUpGUI.php.
References $tpl.
|
protected |
Show openid login if enabled.
Definition at line 1917 of file class.ilStartUpGUI.php.
References $lng, $tpl, ilOpenIdProviders\getInstance(), ilOpenIdSettings\getInstance(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile.
string | $page_editor_html |
Definition at line 842 of file class.ilStartUpGUI.php.
References $_COOKIE, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, ilRegistrationSettings\_lookupRegistrationType(), IL_REG_DISABLED, and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show shibboleth login form.
string | $page_editor_html |
Definition at line 633 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilSetting, $lng, $tpl, and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showSuccess | ( | $a_mess | ) |
Definition at line 956 of file class.ilStartUpGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by showLogin().
ilStartUpGUI::showUserAgreement | ( | ) |
show user agreement
Definition at line 1438 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilUser, $lng, $tpl, ilUserAgreement\_getText(), ilLanguage\_lookupEntry(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\infoPanel(), and ilUtil\redirect().
Referenced by getAcceptance().
|
protected |
Show user agreement link ilLanguage $lng.
string | $page_editor_html |
Definition at line 903 of file class.ilStartUpGUI.php.
References $GLOBALS, $lng, and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showUserMappingSelection | ( | ) |
Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known.
Definition at line 1215 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, $valid, ilObjUser\_getLocalAccountsForEmail(), AUTH_WRONG_LOGIN, ilUtil\prepareFormOutput(), and showFailure().
Referenced by showLogin().
|
protected |
Substitute login page elements.
ilTemplate | $tpl | |
string | $page_editor_html | |
string | $element_html | |
string | $placeholder | |
string | $fallback_tplvar | return string $page_editor_html |
Definition at line 714 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLanguageSelection(), showLoginForm(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserAgreementLink().