ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\FileDelivery Namespace Reference

Namespaces

namespace  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.

37 {
38 if (self::$http === null) {
39 self::$http = $GLOBALS['DIC']['http'];
40 }
41
42 return self::$http;
43 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
$http
Definition: raiseError.php:7

References $GLOBALS, and $http.

Referenced by ilObjSessionGUI\__construct(), XapiProxy\XapiProxyPolyFill\__construct(), ilFileDelivery\__construct(), ilAccessibilitySupportContactsGUI\__construct(), ilAccessibilityControlConceptGUI\__construct(), ilBuddySystemGUI\__construct(), ilPDSelectedItemsBlockGUI\__construct(), ilObjMainMenuAccess\__construct(), ilOnScreenChatGUI\__construct(), ilRepositoryGUI\__construct(), ilTaggingSlateContentGUI\__construct(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\__construct(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactory\__construct(), ilWebAccessChecker\__construct(), ilWebAccessCheckerDelivery\__construct(), ilMMTopItemFormGUI\__construct(), ilMMAbstractItemGUI\__construct(), ilMailTemplateGUI\__construct(), ilFileVersionsGUI\__construct(), ilWebDAVMountInstructionsGUI\__construct(), ilGlobalPageTemplate\__construct(), ilBTControllerGUI\abortBucket(), ilPDSelectedItemsBlockGUI\changePDItemPresentation(), ilPDSelectedItemsBlockGUI\changePDItemSorting(), ilWebAccessChecker\check(), ilMailTemplateGUI\confirmDeleteTemplate(), ilPDSelectedItemsBlockGUI\confirmedRemove(), ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), ilPDSelectedItemsBlockGUI\confirmRemoveObject(), ilBiblFieldFilterGUI\delete(), ilOrgUnitUserAssignmentGUI\delete(), ilOrgUnitUserAssignmentGUI\deleteRecursive(), ilMailTemplateGUI\deleteTemplate(), ilBiblTranslationGUI\deleteTranslations(), ilMMItemTranslationGUI\deleteTranslations(), ilWebAccessCheckerDelivery\deliverDummyImage(), ilWebAccessCheckerDelivery\deliverDummyVideo(), ilFileDelivery\deliverFileAttached(), ilFileDelivery\deliverFileInline(), ilMMAbstractItemGUI\determineCommand(), ilWebDAVMountInstructionsGUI\determineOSfromUserAgent(), draw_shell(), ilBiblAdminFieldGUI\executeCommand(), ilOrgUnitUserAssignmentGUI\executeCommand(), ilOnScreenChatGUI\executeCommand(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand(), ilMailTemplateGUI\getAjaxPlaceholdersById(), ilBTControllerGUI\getAsyncReplacementItem(), ilBiblFieldFilterGUI\getFieldFilterFromRequest(), ilBTControllerGUI\getFromURL(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactory\getInstance(), ilMMAbstractItemGUI\getMMItemFromRequest(), ilOnScreenChatGUI\getUserList(), ilOnScreenChatGUI\getUserProfileData(), ilFileVersionsGUI\getVersionIdsFromRequest(), ilWebAccessCheckerDelivery\handleAccessErrors(), ilWebAccessCheckerDelivery\handleRequest(), ilObjMainMenuAccess\hasUserPermissionTo(), ilObjCmiXapi\iliasUrl(), ilBiblFieldFilterFormGUI\initForm(), ilInitialisation\initHTML(), ilWebAccessChecker\initILIAS(), ilMMTopItemGUI\move(), ilGlobalPageTemplate\prepareOutputHeaders(), ilInitialisation\redirect(), ilBuddySystemGUI\redirectToReferer(), ilMMTopItemFormGUI\save(), ilBiblTranslationGUI\saveTranslations(), ilTaggingSlateContentGUI\send(), ilWebAccessChecker\sendHeader(), ilAccessibilitySupportContactsGUI\sendIssueMail(), ilMailTemplateGUI\setAsContextDefault(), ILIAS\FileDelivery\FileDeliveryTypes\FileDeliveryTypeFactoryTest\setUp(), ilWACCheckingInstanceTest\setUp(), ilWACTokenTest\setUp(), ilMailTemplateGUI\showEditTemplateForm(), ilStartUpGUI\showLoginPage(), ilWACSignedPath\signFile(), ilWACSignedPath\signFolderOfStartFile(), ilPHPOutputDelivery\start(), ilFileDelivery\streamVideoInline(), ilWACCheckingInstanceTest\testBasicWithFileSigning(), ilWACCheckingInstanceTest\testBasicWithFolderSigning(), ilWACTokenTest\testCookieGeneration(), ilWACTokenTest\testFileToken(), ilWACTokenTest\testModifiedTimestampAddTime(), ilWACTokenTest\testModifiedTimestampNoMod(), ilWACTokenTest\testModifiedTimestampSubTime(), ilWACTokenTest\testModifiedToken(), ilWACTokenTest\testModifiedTTL(), ilWACTokenTest\testModifiedTTLAndTimestamp(), ilWACTokenTest\testWithoutSigning(), ilMailTemplateGUI\unsetAsContextDefault(), ilMailTemplateGUI\updateTemplate(), and ilBTControllerGUI\userInteraction().

+ Here is the caller graph for this function:

Variable Documentation

◆ HttpServiceAware

trait ILIAS::FileDelivery\HttpServiceAware
Initial value:
{
private static $http

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

@Internal

Definition at line 22 of file HttpServiceAware.php.