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