ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilContextTemplate.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
10{
16 public static function supportsRedirects();
17
23 public static function hasUser();
24
30 public static function usesHTTP();
31
37 public static function hasHTML();
38
44 public static function usesTemplate();
45
51 public static function initClient();
52
58 public static function doAuthentication();
59
60
65 public static function supportsPersistentSessions();
66
71 public static function supportsPushMessages();
72
78 public static function isSessionMainContext();
79
86 public static function modifyHttpPath(string $httpPath) : string;
87}
An exception for terminatinating execution or to throw for unit testing.
Interface ilContextTemplate.
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.