ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
HttpServiceAware.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\FileDelivery
;
4
5
use
ILIAS\HTTP\GlobalHttpState
;
6
22
trait
HttpServiceAware
23
{
24
private
static
$http
;
25
26
36
protected
static
function
http
()
37
{
38
if
(
self::$http
===
null
) {
39
self::$http
=
$GLOBALS
[
'DIC'
][
'http'
];
40
}
41
42
return
self::$http
;
43
}
44
}
$GLOBALS
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition:
PEAR.php:64
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\HTTP\GlobalHttpState
Interface GlobalHttpState.
Definition:
GlobalHttpState.php:26
ILIAS\FileDelivery
Definition:
Delivery.php:3
ILIAS\FileDelivery\HttpServiceAware
trait HttpServiceAware
Trait HttpServiceAware.
Definition:
HttpServiceAware.php:23
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:36
$http
$http
Definition:
raiseError.php:7
Services
FileDelivery
classes
HttpServiceAware.php
Generated on Fri Oct 3 2025 20:01:03 for ILIAS by
1.9.4 (using
Doxyfile
)