ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static usesTemplate()
Uses template engine.
static doAuthentication()
Try authentication.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.
static hasUser()
Based on user authentication?
static hasHTML()
Has HTML output.
static supportsRedirects()
Are redirects supported?
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 supportsPushMessages()
Check if push messages are supported, see #0018206.
static initClient()
Init client.