|
ILIAS
Release_4_4_x_branch Revision 61816
|
StartUp GUI class. More...
Collaboration diagram for ilStartUpGUI:Public Member Functions | |
| ilStartUpGUI () | |
| constructor | |
| & | executeCommand () |
| execute command | |
| jumpToRegistration () | |
| jump to registration gui | |
| jumpToPasswordAssistance () | |
| jump to password assistance | |
| showLogin () | |
| show login | |
| 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 | |
| processIndexPHP () | |
| process index.php | |
| _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. | |
| purgePlaceholders ($page_editor_html) | |
| Purge page editor html from unused placeholders. | |
| getAcceptance () | |
| Get terms of service. | |
| showOpenIdLoginForm ($page_editor_html) | |
| Show openid login if enabled. | |
StartUp GUI class.
Handles Login and Registration.
ilStartUpGUI: ilAccountRegistrationGUI, ilPasswordAssistanceGUI, ilLoginPageGUI
Definition at line 15 of file class.ilStartUpGUI.php.
| ilStartUpGUI::_checkGoto | ( | $a_target | ) |
Definition at line 1569 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().
Here is the call graph for this function:| ilStartUpGUI::confirmRegistration | ( | ) |
Definition at line 1768 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().
Here is the call graph for this function:| & ilStartUpGUI::executeCommand | ( | ) |
execute command
Definition at line 33 of file class.ilStartUpGUI.php.
Referenced by jumpToPasswordAssistance(), and jumpToRegistration().
Here is the caller graph for this function:
|
protected |
Get terms of service.
Definition at line 1391 of file class.ilStartUpGUI.php.
|
protected |
Get HTML of ILIAS login page editor.
Definition at line 727 of file class.ilStartUpGUI.php.
References $lng, $ret, $tpl, ilPageUtil\_existsAndNotEmpty(), ilObjStyleSheet\getContentStylePath(), ilAuthLoginPageEditorSettings\getInstance(), ilObjStyleSheet\getSyntaxStylePath(), and ilLanguage\lookupId().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStartUpGUI::ilStartUpGUI | ( | ) |
|
protected |
Definition at line 384 of file class.ilStartUpGUI.php.
References $ilCtrl, $lng, and ilFormPropertyGUI\setRequired().
Referenced by processCode(), and showCodeForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStartUpGUI::jumpToPasswordAssistance | ( | ) |
jump to password assistance
Definition at line 72 of file class.ilStartUpGUI.php.
References executeCommand().
Here is the call graph for this function:| ilStartUpGUI::jumpToRegistration | ( | ) |
jump to registration gui
Definition at line 62 of file class.ilStartUpGUI.php.
References executeCommand().
Here is the call graph for this function:| ilStartUpGUI::migrateAccount | ( | ) |
migrate account
public
Definition at line 1006 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(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 411 of file class.ilStartUpGUI.php.
References $_POST, $ilCtrl, $lng, ilObjUser\_lookupId(), ilAccountCode\getCodeValidUntil(), initCodeForm(), ilAccountCode\isUnusedCode(), showCodeForm(), showLogin(), and ilAccountCode\useCode().
Here is the call graph for this function:| ilStartUpGUI::processIndexPHP | ( | ) |
process index.php
Definition at line 1487 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilIliasIniFile, $ilSetting, ilInitialisation\goToPublicSection(), showClientList(), and showLogin().
Referenced by showClientList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Purge page editor html from unused placeholders.
| string | $page_editor_html |
Definition at line 925 of file class.ilStartUpGUI.php.
Referenced by showLogin().
Here is the caller graph for this function:
|
protected |
Show cas login ilSetting $ilSetting.
| string | $page_editor_html |
Definition at line 613 of file class.ilStartUpGUI.php.
References $GLOBALS, $ilSetting, $lng, $tpl, ilUtil\getImagePath(), and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStartUpGUI::showClientList | ( | ) |
show client list
Definition at line 1247 of file class.ilStartUpGUI.php.
References $_GET, $client, $ilCtrl, $ilIliasIniFile, $tpl, exit, and processIndexPHP().
Referenced by processIndexPHP().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 367 of file class.ilStartUpGUI.php.
References $lng, $tpl, initCodeForm(), and ilUtil\sendFailure().
Referenced by processCode(), and showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show language selection ilTemplate $tpl.
Definition at line 774 of file class.ilStartUpGUI.php.
References $GLOBALS, $lng, ilLanguage\_lookupEntry(), and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilStartUpGUI::showLogin | ( | ) |
show login
ilLanguage $lng
Definition at line 84 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $_SESSION, $failure, $ilSetting, $lng, $success, $tpl, AUTH_APACHE_FAILED, AUTH_CAPTCHA_INVALID, 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, getLoginPageEditorHTML(), purgePlaceholders(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSession\SESSION_CLOSE_CAPTCHA, ilSession\SESSION_CLOSE_INACTIVE, ilSession\SESSION_CLOSE_IP, ilSession\SESSION_CLOSE_SIMUL, ilSession\SESSION_CLOSE_TIME, ilSession\set(), ilSession\setClosingContext(), ilUtil\setCookie(), showCASLoginForm(), showCodeForm(), showLanguageSelection(), showLoginForm(), showLoginInformation(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserMappingSelection().
Referenced by processCode(), and processIndexPHP().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show login form ilSetting $ilSetting.
| string | $page_editor_html |
Definition at line 492 of file class.ilStartUpGUI.php.
References $ilSetting, $lng, $tpl, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), AUTH_CAS, AUTH_SHIBBOLETH, ilFormPropertyGUI\setRequired(), ilPasswordInputGUI\setRetype(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show login information.
| string | $page_editor_html |
Definition at line 587 of file class.ilStartUpGUI.php.
Referenced by showLogin().
Here is the caller graph for this function:| ilStartUpGUI::showLogout | ( | ) |
show logout screen
Definition at line 1135 of file class.ilStartUpGUI.php.
References $_COOKIE, $client_id, $ilIliasIniFile, $ilSetting, $lng, $tpl, ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), and ilUtil\setCookie().
Here is the call graph for this function:| ilStartUpGUI::showNoCookiesScreen | ( | ) |
show help screen, if cookies are disabled
to do: link to online help here
Definition at line 1362 of file class.ilStartUpGUI.php.
References $tpl.
|
protected |
Show openid login if enabled.
Definition at line 1887 of file class.ilStartUpGUI.php.
References $lng, $tpl, ilOpenIdProviders\getInstance(), ilOpenIdSettings\getInstance(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile.
| string | $page_editor_html |
Definition at line 820 of file class.ilStartUpGUI.php.
References $_COOKIE, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, ilRegistrationSettings\_lookupRegistrationType(), IL_REG_DISABLED, and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show shibboleth login form.
| string | $page_editor_html |
Definition at line 645 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilSetting, $lng, $tpl, and substituteLoginPageElements().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1181 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, $valid, ilObjUser\_getLocalAccountsForEmail(), AUTH_WRONG_LOGIN, ilUtil\prepareFormOutput(), and ilUtil\sendFailure().
Referenced by showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 707 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLanguageSelection(), showLoginForm(), showOpenIdLoginForm(), showRegistrationLinks(), and showShibbolethLoginForm().
Here is the caller graph for this function: