ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
HttpServiceAware.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\FileDelivery
;
22
23
use
ILIAS\HTTP\Services
;
24
40
trait
HttpServiceAware
41
{
45
private
static
$http
;
46
47
57
protected
static
function
http
()
58
{
59
if
(
self::$http
=== null) {
60
self::$http
=
$GLOBALS
[
'DIC'
][
'http'
];
61
}
62
63
return
self::$http
;
64
}
65
}
$http
$http
Definition:
deliver.php:14
Services
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:57
$GLOBALS
$GLOBALS["DIC"]
Definition:
wac.php:30
HttpServiceAware
ILIAS\FileDelivery
Definition:
Delivery.php:21
components
ILIAS
FileDelivery
classes
HttpServiceAware.php
Generated on Wed Sep 10 2025 15:15:37 for ILIAS by
1.8.13 (using
Doxyfile
)