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