|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Service context (factory) class. More...
Inheritance diagram for ilContext:
Collaboration diagram for ilContext:Static Public Member Functions | |
| static | init ($a_type) |
| Init context by type. More... | |
| static | supportsRedirects () |
| Are redirects supported? More... | |
| static | hasUser () |
| Based on user authentication? More... | |
| static | usesHTTP () |
| Uses HTTP aka browser. More... | |
| static | hasHTML () |
| Has HTML output. More... | |
| static | usesTemplate () |
| Uses template engine. More... | |
| static | initClient () |
| Init client. More... | |
| static | doAuthentication () |
| Try authentication. More... | |
| static | getType () |
| Get context type. More... | |
| static | supportsPersistentSessions () |
| Check if context supports persistent session handling. More... | |
Data Fields | |
| const | CONTEXT_WEB = "ilContextWeb" |
| const | CONTEXT_CRON = "ilContextCron" |
| const | CONTEXT_RSS = "ilContextRss" |
| const | CONTEXT_ICAL = "ilContextIcal" |
| const | CONTEXT_SOAP = "ilContextSoap" |
| const | CONTEXT_WEBDAV = "ilContextWebdav" |
| const | CONTEXT_RSS_AUTH = "ilContextRssAuth" |
| const | CONTEXT_SESSION_REMINDER = "ilContextSessionReminder" |
| const | CONTEXT_SOAP_WITHOUT_CLIENT = "ilContextSoapWithoutClient" |
| const | CONTEXT_UNITTEST = "ilContextUnitTest" |
| const | CONTEXT_REST = "ilContextRest" |
| const | CONTEXT_SCORM = "ilContextScorm" |
| const | CONTEXT_WAC = "ilContextWAC" |
| const | CONTEXT_APACHE_SSO = 'ilContextApacheSSO' |
| const | CONTEXT_SHIBBOLETH = 'ilContextShibboleth' |
Static Protected Member Functions | |
| static | callContext ($a_method) |
| Call current content. More... | |
Static Protected Attributes | |
| static | $class_name |
| static | $type |
|
staticprotected |
Call current content.
| string | $a_method |
Definition at line 57 of file class.ilContext.php.
References init().
Referenced by doAuthentication(), hasHTML(), hasUser(), initClient(), supportsPersistentSessions(), supportsRedirects(), usesHTTP(), and usesTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Try authentication.
Definition at line 139 of file class.ilContext.php.
References callContext().
Here is the call graph for this function:
|
static |
Get context type.
Definition at line 149 of file class.ilContext.php.
References $type.
Referenced by ilFileDelivery\__construct(), ilInitialisation\blockedAuthentication(), ilInitialisation\buildHTTPPath(), ilSoapAdministration\initIlias(), ilLoggerFactory\isConsoleAvailable(), ilBackgroundTaskHub\isSOAPEnabled(), ilECSTaskScheduler\start(), and ilContextTest\testInit().
Here is the caller graph for this function:
|
static |
Has HTML output.
Definition at line 109 of file class.ilContext.php.
References callContext().
Referenced by ilForumAuthorInformation\getAnonymousImagePath(), ilForumAuthorInformation\getUserImagePath(), ilInitialisation\handleMaintenanceMode(), ilInitialisation\initILIAS(), and ilInitialisation\redirect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Based on user authentication?
Definition at line 89 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\initHTML(), and ilInitialisation\initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Init context by type.
| string | $a_type |
Definition at line 42 of file class.ilContext.php.
References $a_type.
Referenced by callContext(), ilSoapAdministration\getClientInfoXML(), ilSoapAdministration\getInstallationInfoXML(), ilCalendarRemoteAccessHandler\initIlias(), ilCronStartUp\initIlias(), ilWebAccessChecker\initILIAS(), and ilContextTest\testInit().
Here is the caller graph for this function:
|
static |
Init client.
Definition at line 129 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if context supports persistent session handling.
false for cli context
Definition at line 161 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\determineClient(), and ilInitialisation\initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Are redirects supported?
Definition at line 71 of file class.ilContext.php.
References $ilCtrl, and callContext().
Referenced by ilUserRequestTargetAdjustment\adjust(), ilAuthApache\login(), ilInitialisation\redirect(), and ilAuthFrontendCredentialsApache\tryAuthenticationOnLoginPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Uses HTTP aka browser.
Definition at line 99 of file class.ilContext.php.
References callContext().
Referenced by ilUtil\_getHttpPath(), ilLanguageDetectorFactory\getValidInstances(), ilInitialisation\initClient(), ilInitialisation\initSettings(), and ilInitialisation\redirect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Uses template engine.
Definition at line 119 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\requireCommonIncludes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 16 of file class.ilContext.php.
Referenced by ilContextExtended\getClassName().
|
staticprotected |
Definition at line 17 of file class.ilContext.php.
Referenced by getType().
| const ilContext::CONTEXT_APACHE_SSO = 'ilContextApacheSSO' |
Definition at line 32 of file class.ilContext.php.
Referenced by ilInitialisation\blockedAuthentication(), and ilInitialisation\buildHTTPPath().
| const ilContext::CONTEXT_CRON = "ilContextCron" |
Definition at line 20 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider(), ilCronStartUp\initIlias(), and ilBackgroundTaskHub\isSOAPEnabled().
| const ilContext::CONTEXT_ICAL = "ilContextIcal" |
Definition at line 22 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider(), and ilCalendarRemoteAccessHandler\initIlias().
| const ilContext::CONTEXT_REST = "ilContextRest" |
Definition at line 29 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_RSS = "ilContextRss" |
Definition at line 21 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_RSS_AUTH = "ilContextRssAuth" |
Definition at line 25 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_SCORM = "ilContextScorm" |
Definition at line 30 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_SESSION_REMINDER = "ilContextSessionReminder" |
Definition at line 26 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_SHIBBOLETH = 'ilContextShibboleth' |
Definition at line 33 of file class.ilContext.php.
Referenced by ilInitialisation\blockedAuthentication().
| const ilContext::CONTEXT_SOAP = "ilContextSoap" |
Definition at line 23 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider(), and ilSoapAdministration\initIlias().
| const ilContext::CONTEXT_SOAP_WITHOUT_CLIENT = "ilContextSoapWithoutClient" |
Definition at line 27 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider(), ilSoapAdministration\getClientInfoXML(), and ilSoapAdministration\getInstallationInfoXML().
| const ilContext::CONTEXT_UNITTEST = "ilContextUnitTest" |
Definition at line 28 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider().
| const ilContext::CONTEXT_WAC = "ilContextWAC" |
Definition at line 31 of file class.ilContext.php.
Referenced by ilInitialisation\blockedAuthentication(), ilContextTest\contextProvider(), and ilWebAccessChecker\initILIAS().
| const ilContext::CONTEXT_WEB = "ilContextWeb" |
Definition at line 19 of file class.ilContext.php.
Referenced by ilContextTest\contextProvider(), ilLoggerFactory\isConsoleAvailable(), and ilECSTaskScheduler\start().
| const ilContext::CONTEXT_WEBDAV = "ilContextWebdav" |
Definition at line 24 of file class.ilContext.php.
Referenced by ilInitialisation\blockedAuthentication(), and ilContextTest\contextProvider().