ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilContextBase.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
13abstract class ilContextBase
14{
20 abstract public static function supportsRedirects();
21
27 abstract public static function hasUser();
28
34 abstract public static function usesHTTP();
35
41 abstract public static function hasHTML();
42
48 abstract public static function usesTemplate();
49
55 abstract public static function initClient();
56
62 abstract public static function doAuthentication();
63}
64
65?>
Service context base class.
static usesTemplate()
Uses template engine.
static hasUser()
Based on user authentication?
static usesHTTP()
Uses HTTP aka browser.
static doAuthentication()
Try authentication.
static hasHTML()
Has HTML output.
static initClient()
Init client.
static supportsRedirects()
Are redirects supported?