ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilContextWAC Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilContextWAC:
+ Collaboration diagram for ilContextWAC:

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 sessions are supported false for context cli. More...
 
static supportsPushMessages ()
 Check if push messages are supported, see #0018206. More...
 
static isSessionMainContext ()
 Context that are not only temporary in a session (e.g. More...
 
static modifyHttpPath (string $httpPath)
 A context might modify the ILIAS http path. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilContextWAC

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 24 of file class.ilContextWAC.php.

Member Function Documentation

◆ doAuthentication()

static ilContextWAC::doAuthentication ( )
static

Try authentication.

Implements ilContextTemplate.

Definition at line 56 of file class.ilContextWAC.php.

56  : bool
57  {
58  return true;
59  }

◆ hasHTML()

static ilContextWAC::hasHTML ( )
static

Has HTML output.

Implements ilContextTemplate.

Definition at line 41 of file class.ilContextWAC.php.

41  : bool
42  {
43  return true;
44  }

◆ hasUser()

static ilContextWAC::hasUser ( )
static

Based on user authentication?

Implements ilContextTemplate.

Definition at line 31 of file class.ilContextWAC.php.

31  : bool
32  {
33  return true;
34  }

◆ initClient()

static ilContextWAC::initClient ( )
static

Init client.

Implements ilContextTemplate.

Definition at line 51 of file class.ilContextWAC.php.

51  : bool
52  {
53  return true;
54  }

◆ isSessionMainContext()

static ilContextWAC::isSessionMainContext ( )
static

Context that are not only temporary in a session (e.g.

WAC is, Cron is not)

Implements ilContextTemplate.

Definition at line 71 of file class.ilContextWAC.php.

71  : bool
72  {
73  return false;
74  }

◆ modifyHttpPath()

static ilContextWAC::modifyHttpPath ( string  $httpPath)
static

A context might modify the ILIAS http path.

See also
::buildHTTPPath

Implements ilContextTemplate.

Definition at line 76 of file class.ilContextWAC.php.

76  : string
77  {
78  return $httpPath;
79  }

◆ supportsPersistentSessions()

static ilContextWAC::supportsPersistentSessions ( )
static

Check if persistent sessions are supported false for context cli.

Implements ilContextTemplate.

Definition at line 61 of file class.ilContextWAC.php.

61  : bool
62  {
63  return true;
64  }

◆ supportsPushMessages()

static ilContextWAC::supportsPushMessages ( )
static

Check if push messages are supported, see #0018206.

Implements ilContextTemplate.

Definition at line 66 of file class.ilContextWAC.php.

66  : bool
67  {
68  return false;
69  }

◆ supportsRedirects()

static ilContextWAC::supportsRedirects ( )
static

Are redirects supported?

Implements ilContextTemplate.

Definition at line 26 of file class.ilContextWAC.php.

26  : bool
27  {
28  return false;
29  }

◆ usesHTTP()

static ilContextWAC::usesHTTP ( )
static

Uses HTTP aka browser.

Implements ilContextTemplate.

Definition at line 36 of file class.ilContextWAC.php.

36  : bool
37  {
38  return true;
39  }

◆ usesTemplate()

static ilContextWAC::usesTemplate ( )
static

Uses template engine.

Implements ilContextTemplate.

Definition at line 46 of file class.ilContextWAC.php.

46  : bool
47  {
48  return true;
49  }

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