ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
HttpServiceAware.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\FileDelivery;
4 
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 }
static http()
Fetches the global http state from ILIAS.
$http
Definition: raiseError.php:7
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.