ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilContextTemplate.php
Go to the documentation of this file.
1 <?php
2 
25 {
29  public static function supportsRedirects(): bool;
30 
34  public static function hasUser(): bool;
35 
39  public static function usesHTTP(): bool;
40 
44  public static function hasHTML(): bool;
45 
49  public static function usesTemplate(): bool;
50 
54  public static function initClient(): bool;
55 
59  public static function doAuthentication(): bool;
60 
65  public static function supportsPersistentSessions(): bool;
66 
70  public static function supportsPushMessages(): bool;
71 
75  public static function isSessionMainContext(): bool;
76 
81  public static function modifyHttpPath(string $httpPath): string;
82 }
static supportsPersistentSessions()
Check if persistent sessions are supported false for context cli.
static supportsPushMessages()
Check if push messages are supported, see #0018206.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.
static initClient()
Init client.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static supportsRedirects()
Are redirects supported?
static hasHTML()
Has HTML output.
static hasUser()
Based on user authentication?
static doAuthentication()
Try authentication.
static modifyHttpPath(string $httpPath)
A context might modify the ILIAS http path.
static usesHTTP()
Uses HTTP aka browser.
static usesTemplate()
Uses template engine.