ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilContextRest.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 
5 include_once "Services/Context/classes/class.ilContextBase.php";
6 
16 {
22  public static function supportsRedirects()
23  {
24  return false;
25  }
26 
32  public static function hasUser()
33  {
34  return false;
35  }
36 
42  public static function usesHTTP()
43  {
44  return true;
45  }
46 
52  public static function hasHTML()
53  {
54  return false;
55  }
56 
62  public static function usesTemplate()
63  {
64  return false;
65  }
66 
72  public static function initClient()
73  {
74  return true;
75  }
76 
82  public static function doAuthentication()
83  {
84  return false;
85  }
86 }
87 
88 ?>
static usesHTTP()
Uses HTTP aka browser.
static supportsRedirects()
Are redirects supported?
static initClient()
Init client.
static hasUser()
Based on user authentication?
Service context base class.
static hasHTML()
Has HTML output.
static usesTemplate()
Uses template engine.
static doAuthentication()
Try authentication.
Service context for soap.