ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilContextWeb Class Reference

Service context for web/gui. More...

+ Inheritance diagram for ilContextWeb:
+ Collaboration diagram for ilContextWeb:

Static Public Member Functions

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 supportsPersistentSessions ()
 Check if persistent session handling is supported. More...
 
static supportsPushMessages ()
 Supports push messages. More...
 
static isSessionMainContext ()
 Context that are not only temporary in a session (e.g.WAC is, Cron is not)
Returns
bool
More...
 

Detailed Description

Service context for web/gui.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 15 of file class.ilContextWeb.php.

Member Function Documentation

◆ doAuthentication()

static ilContextWeb::doAuthentication ( )
static

Try authentication.

Returns
bool

Implements ilContextTemplate.

Definition at line 82 of file class.ilContextWeb.php.

83  {
84  return false;
85  }

◆ hasHTML()

static ilContextWeb::hasHTML ( )
static

Has HTML output.

Returns
bool

Implements ilContextTemplate.

Definition at line 52 of file class.ilContextWeb.php.

53  {
54  return true;
55  }

◆ hasUser()

static ilContextWeb::hasUser ( )
static

Based on user authentication?

Returns
bool

Implements ilContextTemplate.

Definition at line 32 of file class.ilContextWeb.php.

33  {
34  return true;
35  }

◆ initClient()

static ilContextWeb::initClient ( )
static

Init client.

Returns
bool

Implements ilContextTemplate.

Definition at line 72 of file class.ilContextWeb.php.

73  {
74  return true;
75  }

◆ isSessionMainContext()

static ilContextWeb::isSessionMainContext ( )
static

Context that are not only temporary in a session (e.g.WAC is, Cron is not)

Returns
bool

Implements ilContextTemplate.

Definition at line 109 of file class.ilContextWeb.php.

110  {
111  return true;
112  }

◆ supportsPersistentSessions()

static ilContextWeb::supportsPersistentSessions ( )
static

Check if persistent session handling is supported.

Returns
boolean

Implements ilContextTemplate.

Definition at line 91 of file class.ilContextWeb.php.

92  {
93  return true;
94  }

◆ supportsPushMessages()

static ilContextWeb::supportsPushMessages ( )
static

Supports push messages.

Returns
bool

Implements ilContextTemplate.

Definition at line 101 of file class.ilContextWeb.php.

102  {
103  return true;
104  }

◆ supportsRedirects()

static ilContextWeb::supportsRedirects ( )
static

Are redirects supported?

Returns
bool

Implements ilContextTemplate.

Definition at line 22 of file class.ilContextWeb.php.

23  {
24  return true;
25  }

◆ usesHTTP()

static ilContextWeb::usesHTTP ( )
static

Uses HTTP aka browser.

Returns
bool

Implements ilContextTemplate.

Definition at line 42 of file class.ilContextWeb.php.

43  {
44  return true;
45  }

◆ usesTemplate()

static ilContextWeb::usesTemplate ( )
static

Uses template engine.

Returns
bool

Implements ilContextTemplate.

Definition at line 62 of file class.ilContextWeb.php.

63  {
64  return true;
65  }

The documentation for this class was generated from the following file: