ILIAS  release_7 Revision v7.30-3-g800a261c036
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
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}
An exception for terminatinating execution or to throw for unit testing.
Authentication frontend factory.
static setContext($a_context)
set context
$context
Definition: webdav.php:26