ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\FileDelivery Class Reference
+ Inheritance diagram for ILIAS\FileDelivery:
+ Collaboration diagram for ILIAS\FileDelivery:

Data Structures

interface  ilFileDeliveryService
 Interface ilFileDeliveryService. More...
 
interface  ilFileDeliveryType
 Interface ilFileDeliveryType. More...
 

Public Member Functions

 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 
- Public Member Functions inherited from ILIAS\Component
 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 

Data Fields

trait HttpServiceAware
 Trait HttpServiceAware. More...
 

Detailed Description

Definition at line 29 of file FileDelivery.php.

Member Function Documentation

◆ init()

ILIAS\FileDelivery::init ( array|\ArrayAccess &  $define,
array|\ArrayAccess &  $implement,
array|\ArrayAccess &  $use,
array|\ArrayAccess &  $contribute,
array|\ArrayAccess &  $seek,
array|\ArrayAccess &  $provide,
array|\ArrayAccess &  $pull,
array|\ArrayAccess &  $internal 
)

Implements ILIAS\Component\Component.

Definition at line 31 of file FileDelivery.php.

40  : void {
41  $contribute[Agent::class] = static fn(): \ILIAS\FileDelivery\Setup\Agent =>
42  new \ILIAS\FileDelivery\Setup\Agent(
43  $pull[Factory::class]
44  );
45 
46  $contribute[PublicAsset::class] = fn(): Endpoint =>
47  new Endpoint($this, "deliver.php");
48  }
Interface Observer Contains several chained tasks and infos about them.

Field 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

Definition at line 39 of file HttpServiceAware.php.


The documentation for this class was generated from the following files: