ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ILIAS\FileDelivery Namespace Reference

Namespaces

 FileDeliveryTypes
 Class XAccelTest.
 

Data Structures

class  Delivery
 Class Delivery. More...
 
interface  ilFileDeliveryService
 Interface ilFileDeliveryService. More...
 
interface  ilFileDeliveryType
 Interface ilFileDeliveryType. More...
 

Functions

static http ()
 Fetches the global http state from ILIAS. More...
 

Variables

trait HttpServiceAware
 Trait HttpServiceAware. More...
 

Function Documentation

◆ http()

static ILIAS\FileDelivery\http ( )
staticprotected

Fetches the global http state from ILIAS.

The GlobalHttpStore is stored after the first invocation.

Returns
GlobalHttpState The current http global state of ILIAS.
Since
5.3

Definition at line 36 of file HttpServiceAware.php.

References $GLOBALS, and $http.

Referenced by ilObjMainMenuAccess\__construct(), sspmod_core_Auth_Process_Cardinality\__construct(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactory\__construct(), sspmod_core_Auth_Process_CardinalitySingle\__construct(), ilFileDelivery\__construct(), ilWebAccessCheckerDelivery\__construct(), ilBuddySystemGUI\__construct(), ilMMTopItemFormGUI\__construct(), ilMailTemplateGUI\__construct(), ilMMAbstractItemGUI\__construct(), ilFileVersionsGUI\__construct(), ilWebAccessChecker\__construct(), ilBTControllerGUI\abortBucket(), ilWebAccessChecker\check(), ilMailTemplateGUI\confirmDeleteTemplate(), Sabre\CardDAV\ValidateFilterTest\data(), ilOrgUnitUserAssignmentGUI\delete(), ilBiblFieldFilterGUI\delete(), ilMailTemplateGUI\deleteTemplate(), ilBiblTranslationGUI\deleteTranslations(), ilMMItemTranslationGUI\deleteTranslations(), ilWebAccessCheckerDelivery\deliverDummyImage(), ilWebAccessCheckerDelivery\deliverDummyVideo(), ilFileDelivery\deliverFileAttached(), ilFileDelivery\deliverFileInline(), ilMMAbstractItemGUI\determineCommand(), draw_shell(), ilOrgUnitUserAssignmentGUI\executeCommand(), ilBiblAdminFieldGUI\executeCommand(), Sabre\DAV\Browser\Plugin\generateFooter(), ilMailTemplateGUI\getAjaxPlaceholdersById(), ilBiblFieldFilterGUI\getFieldFilterFromRequest(), ilBTControllerGUI\getFromURL(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactory\getInstance(), ilMMAbstractItemGUI\getMMItemFromRequest(), ilFileVersionsGUI\getVersionIdsFromRequest(), ilWebAccessCheckerDelivery\handleAccessErrors(), ilWebAccessCheckerDelivery\handleRequest(), ilObjMainMenuAccess\hasUserPermissionTo(), Sanitizer\hexCharReference(), ilOrgUnitUserAssignmentGUI\index(), ilBiblFieldFilterFormGUI\initForm(), ilWebAccessChecker\initILIAS(), ilMMItemTranslationGUI\initToolbar(), sspmod_core_Auth_Process_CardinalitySingle\process(), sspmod_core_Auth_Process_Cardinality\process(), ilInitialisation\redirect(), ilBuddySystemGUI\redirectToReferer(), ilMMTopItemFormGUI\save(), ilBiblTranslationGUI\saveTranslations(), ilWebAccessChecker\sendHeader(), ilMailTemplateGUI\setAsContextDefault(), Parser\setOutputType(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactoryTest\setUp(), ilWACCheckingInstanceTest\setUp(), ilWACTokenTest\setUp(), ilMailTemplateGUI\showEditTemplateForm(), ilStartUpGUI\showLoginPage(), ilWACSignedPath\signFile(), ilWACSignedPath\signFolderOfStartFile(), ilPHPOutputDelivery\start(), ilFileDelivery\streamVideoInline(), Sabre\VObject\Property\UriTest\testAlwaysEncodeUriVCalendar(), ilWACCheckingInstanceTest\testBasicWithFileSigning(), ilWACCheckingInstanceTest\testBasicWithFolderSigning(), Sabre\VObject\VCardConverterTest\testConvert30to30(), Sabre\VObject\VCardConverterTest\testConvert30to40(), Sabre\VObject\VCardConverterTest\testConvert40to30(), Sabre\VObject\VCardConverterTest\testConvert40to40(), ilWACTokenTest\testCookieGeneration(), Sabre\VObject\GoogleColonEscapingTest\testDecode(), Sabre\XML\Deserializer\ValueObjectTest\testDeserializeValueObjectAutoArray(), ilWACTokenTest\testFileToken(), Sabre\Xml\ServiceTest\testMapValueObjectArrayProperty(), ilWACTokenTest\testModifiedTimestampAddTime(), ilWACTokenTest\testModifiedTimestampNoMod(), ilWACTokenTest\testModifiedTimestampSubTime(), ilWACTokenTest\testModifiedToken(), ilWACTokenTest\testModifiedTTL(), ilWACTokenTest\testModifiedTTLAndTimestamp(), Sabre\VObject\Issue96Test\testRead(), Sabre\VObject\Parser\XmlTest\testRFC6321Section3_6_13(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_2_4(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_6_3(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_7_8(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_9_1(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_9_2(), Sabre\VObject\Parser\XmlTest\testRFC6350Section6_9_3(), Sabre\VObject\Parser\XmlTest\testRFC6350SectionA_3(), Sabre\VObject\Parser\JsonTest\testRoundTripJCal(), Sabre\Xml\Element\UriTest\testSerialize(), ilWACTokenTest\testSomeBasics(), Sabre\DAV\Sync\PluginTest\testSubsequentSyncSyncCollection(), Sabre\DAV\Sync\PluginTest\testSubsequentSyncSyncCollectionDepthFallBack(), Sabre\DAV\Sync\PluginTest\testSubsequentSyncSyncCollectionLimit(), Sabre\DAV\Sync\PluginTest\testSyncInvalidToken(), Sabre\VObject\VCardConverterTest\testUnknownSourceVCardVersion(), Sabre\VObject\Component\VJournalTest\testValidateBroken(), ilWACTokenTest\testWithoutSigning(), Gettext\Languages\Exporter\Docs\toStringDo(), ilMailTemplateGUI\unsetAsContextDefault(), ilMailTemplateGUI\updateTemplate(), and ilBTControllerGUI\userInteraction().

37  {
38  if (self::$http === null) {
39  self::$http = $GLOBALS['DIC']['http'];
40  }
41 
42  return self::$http;
43  }
$http
Definition: raiseError.php:7
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
+ Here is the caller graph for this function:

Variable Documentation

◆ HttpServiceAware

trait ILIAS::FileDelivery\HttpServiceAware
Initial value:
{
private static $http
$http
Definition: raiseError.php:7

Trait HttpServiceAware.

This trait provide a convenient way to consume the global http state and aids to reduce code duplication.

Please only use this trait if you need the global http state from a static context! Otherwise consider to pass the http global state via constructor (DI).

Author
Nicolas Schäfli ns@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0
Since
5.3

Definition at line 23 of file HttpServiceAware.php.