ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAuthFactory.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 
15 {
20  const CONTEXT_WEB = 1;
21 
29  const CONTEXT_HTTP = 2;
30 
31 
36  const CONTEXT_SOAP = 3;
37 
41  const CONTEXT_CAS = 5;
42 
47  const CONTEXT_CALENDAR = 6;
48 
49 
55 
56 
61  const CONTEXT_ECS = 8;
62 
63 
64 
69  const CONTEXT_APACHE = 10;
70 
74  private static $context = self::CONTEXT_WEB;
75 
80  public static function getContext()
81  {
82  return self::$context;
83  }
84 
90  public static function setContext($a_context)
91  {
92  self::$context = $a_context;
93  }
94 }
$context
Definition: webdav.php:26
Authentication frontend factory.
static setContext($a_context)
set context