ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
HttpServiceAware.php
Go to the documentation of this file.
1
<?php
2
// declare(strict_types=1);
3
4
namespace
ILIAS\WebAccessChecker
;
5
6
use
ILIAS\HTTP\GlobalHttpState
;
7
23
trait
HttpServiceAware
24
{
25
private
static
$http
;
26
27
37
protected
static
function
http
()
38
{
39
if
(
self::$http
=== null) {
40
self::$http
=
$GLOBALS
[
'DIC'
][
'http'
];
41
}
42
43
return
self::$http
;
44
}
45
}
GlobalHttpState
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\WebAccessChecker
Definition:
HttpServiceAware.php:4
$GLOBALS
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition:
PEAR.php:64
$http
$http
Definition:
raiseError.php:7
ILIAS\WebAccessChecker\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:37
HttpServiceAware
Services
WebAccessChecker
classes
HttpServiceAware.php
Generated on Wed Sep 3 2025 21:01:27 for ILIAS by
1.8.13 (using
Doxyfile
)