ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilContextWAC.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5require_once('./Services/Context/interfaces/interface.ilContextTemplate.php');
6
13{
14
18 public static function supportsRedirects()
19 {
20 return false;
21 }
22
23
27 public static function hasUser()
28 {
29 return true;
30 }
31
32
36 public static function usesHTTP()
37 {
38 return true;
39 }
40
41
45 public static function hasHTML()
46 {
47 return true;
48 }
49
50
54 public static function usesTemplate()
55 {
56 return true;
57 }
58
59
63 public static function initClient()
64 {
65 return true;
66 }
67
68
72 public static function doAuthentication()
73 {
74 return true;
75 }
76
81 public static function supportsPersistentSessions()
82 {
83 return true;
84 }
85
91 public static function supportsPushMessages()
92 {
93 return false;
94 }
95
99 public static function isSessionMainContext()
100 {
101 return false;
102 }
103}
An exception for terminatinating execution or to throw for unit testing.
Class ilContextWAC.
static supportsPushMessages()
Supports push messages.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.WAC is, Cron is not)bool
static supportsRedirects()
static supportsPersistentSessions()
Check if persistent session handling is supported.
static doAuthentication()
Interface ilContextTemplate.