ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilContextLTIProvider.php
Go to the documentation of this file.
1<?php
2
3
4/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
5
6include_once "Services/Context/interfaces/interface.ilContextTemplate.php";
7
16{
17
21 public static function doAuthentication()
22 {
23 return true;
24 }
25
29 public static function hasHTML()
30 {
31 return true;
32 }
33
37 public static function hasUser()
38 {
39 return true;
40 }
41
45 public static function initClient()
46 {
47 return true;
48 }
49
53 public static function supportsPersistentSessions()
54 {
55 return true;
56 }
57
61 public static function supportsRedirects()
62 {
63 return true;
64 }
65
69 public static function usesHTTP()
70 {
71 return true;
72 }
73
77 public static function usesTemplate()
78 {
79 return true;
80 }
81
87 public static function supportsPushMessages()
88 {
89 return false;
90 }
91
95 public static function isSessionMainContext()
96 {
97 return false;
98 }
99}
An exception for terminatinating execution or to throw for unit testing.
Service context for LTI provider.
static isSessionMainContext()
Context that are not only temporary in a session (e.g.WAC is, Cron is not)bool
static supportsPushMessages()
Supports push messages.
static usesTemplate()
uses template
static hasUser()
Has user (maybe?)
static doAuthentication()
Do authentication.
static supportsPersistentSessions()
supports persistent session
static supportsRedirects()
supports redirects
Interface ilContextTemplate.