ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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,)
 

Data Fields

trait HttpServiceAware
 Trait HttpServiceAware. More...
 

Detailed Description

Definition at line 23 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 25 of file FileDelivery.php.

34  : void {
35  $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
36  new \ILIAS\FileDelivery\Setup\Agent(
37  $pull[\ILIAS\Refinery\Factory::class]
38  );
39 
40  $contribute[Component\Resource\PublicAsset::class] = fn() =>
41  new Component\Resource\Endpoint($this, "deliver.php");
42  }
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 41 of file HttpServiceAware.php.


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