ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilContextWeb.php
Go to the documentation of this file.
1<?php
2
25{
26 public static function supportsRedirects(): bool
27 {
28 return true;
29 }
30
31 public static function hasUser(): bool
32 {
33 return true;
34 }
35
36 public static function usesHTTP(): bool
37 {
38 return true;
39 }
40
41 public static function hasHTML(): bool
42 {
43 return true;
44 }
45
46 public static function usesTemplate(): bool
47 {
48 return true;
49 }
50
51 public static function initClient(): bool
52 {
53 return true;
54 }
55
56 public static function doAuthentication(): bool
57 {
58 return false;
59 }
60
61 public static function supportsPersistentSessions(): bool
62 {
63 return true;
64 }
65
66 public static function supportsPushMessages(): bool
67 {
68 return true;
69 }
70
71 public static function isSessionMainContext(): bool
72 {
73 return true;
74 }
75
76 public static function modifyHttpPath(string $httpPath): string
77 {
78 return $httpPath;
79 }
80}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static modifyHttpPath(string $httpPath)
A context might modify the ILIAS http path.
static supportsPushMessages()
Check if push messages are supported, see #0018206.
static hasHTML()
Has HTML output.
static initClient()
Init client.
static supportsRedirects()
Are redirects supported?
static supportsPersistentSessions()
Check if persistent sessions are supported false for context cli.
static hasUser()
Based on user authentication?
static usesHTTP()
Uses HTTP aka browser.
static usesTemplate()
Uses template engine.
static doAuthentication()
Try authentication.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...