ILIAS
release_4-3 Revision
|
Service context (factory) class. More...
Static Public Member Functions | |
static | init ($a_type) |
Init context by type. | |
static | supportsRedirects () |
Are redirects supported? | |
static | hasUser () |
Based on user authentication? | |
static | usesHTTP () |
Uses HTTP aka browser. | |
static | hasHTML () |
Has HTML output. | |
static | usesTemplate () |
Uses template engine. | |
static | initClient () |
Init client. | |
static | doAuthentication () |
Try authentication. | |
static | getType () |
Get context type. |
Data Fields | |
const | CONTEXT_WEB = 1 |
const | CONTEXT_CRON = 2 |
const | CONTEXT_RSS = 3 |
const | CONTEXT_ICAL = 4 |
const | CONTEXT_SOAP = 5 |
const | CONTEXT_WEBDAV = 6 |
const | CONTEXT_RSS_AUTH = 7 |
const | CONTEXT_WEB_ACCESS_CHECK = 8 |
const | CONTEXT_SESSION_REMINDER = 9 |
const | CONTEXT_SOAP_WITHOUT_CLIENT = 10 |
const | CONTEXT_UNITTEST = 11 |
const | CONTEXT_REST = 12 |
Protected Member Functions | |
getClassForType ($a_type) | |
Get class name for type id. |
Static Protected Member Functions | |
static | callContext ($a_method) |
Call current content. |
Static Protected Attributes | |
static | $class_name |
static | $type |
|
staticprotected |
Call current content.
string | $a_method |
Definition at line 104 of file class.ilContext.php.
References init().
Referenced by doAuthentication(), hasHTML(), hasUser(), initClient(), supportsRedirects(), usesHTTP(), and usesTemplate().
|
static |
Try authentication.
Definition at line 186 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\initILIAS().
|
protected |
Get class name for type id.
int | $a_type |
Definition at line 56 of file class.ilContext.php.
Referenced by init().
|
static |
Get context type.
Definition at line 196 of file class.ilContext.php.
References $type.
Referenced by ilSoapAdministration\initIlias(), ilMail\isSOAPEnabled(), and ilECSTaskScheduler\start().
|
static |
Has HTML output.
Definition at line 156 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\handleMaintenanceMode(), ilInitialisation\initILIAS(), and ilInitialisation\redirect().
|
static |
Based on user authentication?
Definition at line 136 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\initILIAS().
|
static |
Init context by type.
int | $a_type |
Definition at line 37 of file class.ilContext.php.
References $class_name, and getClassForType().
Referenced by callContext(), ilSoapAdministration\getClientInfoXML(), ilSoapAdministration\getInstallationInfoXML(), and ilCalendarRemoteAccessHandler\initIlias().
|
static |
Init client.
Definition at line 176 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\initILIAS().
|
static |
Are redirects supported?
Definition at line 118 of file class.ilContext.php.
References $ilCtrl, and callContext().
Referenced by ilAuthApache\login(), and ilInitialisation\redirect().
|
static |
Uses HTTP aka browser.
Definition at line 146 of file class.ilContext.php.
References callContext().
Referenced by ilUtil\_getHttpPath(), ilInitialisation\initClient(), ilInitialisation\initSettings(), ilInitialisation\initUser(), and ilInitialisation\redirect().
|
static |
Uses template engine.
Definition at line 166 of file class.ilContext.php.
References callContext().
Referenced by ilInitialisation\requireCommonIncludes().
|
staticprotected |
Definition at line 15 of file class.ilContext.php.
Referenced by init().
|
staticprotected |
Definition at line 16 of file class.ilContext.php.
Referenced by getType().
const ilContext::CONTEXT_CRON = 2 |
Definition at line 19 of file class.ilContext.php.
Referenced by ilMail\isSOAPEnabled().
const ilContext::CONTEXT_ICAL = 4 |
Definition at line 21 of file class.ilContext.php.
Referenced by ilCalendarRemoteAccessHandler\initIlias().
const ilContext::CONTEXT_REST = 12 |
Definition at line 29 of file class.ilContext.php.
const ilContext::CONTEXT_RSS = 3 |
Definition at line 20 of file class.ilContext.php.
const ilContext::CONTEXT_RSS_AUTH = 7 |
Definition at line 24 of file class.ilContext.php.
const ilContext::CONTEXT_SESSION_REMINDER = 9 |
Definition at line 26 of file class.ilContext.php.
const ilContext::CONTEXT_SOAP = 5 |
Definition at line 22 of file class.ilContext.php.
Referenced by ilSoapAdministration\initIlias().
const ilContext::CONTEXT_SOAP_WITHOUT_CLIENT = 10 |
Definition at line 27 of file class.ilContext.php.
Referenced by ilSoapAdministration\getClientInfoXML(), and ilSoapAdministration\getInstallationInfoXML().
const ilContext::CONTEXT_UNITTEST = 11 |
Definition at line 28 of file class.ilContext.php.
const ilContext::CONTEXT_WEB = 1 |
Definition at line 18 of file class.ilContext.php.
Referenced by ilECSTaskScheduler\start().
const ilContext::CONTEXT_WEB_ACCESS_CHECK = 8 |
Definition at line 25 of file class.ilContext.php.
const ilContext::CONTEXT_WEBDAV = 6 |
Definition at line 23 of file class.ilContext.php.