ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
FileDelivery.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS
;
22
23
use
ILIAS\Component\Component
;
24
use
ILIAS\Setup\Agent
;
25
use
ILIAS\Refinery\Factory
;
26
use
ILIAS\Component\Resource\PublicAsset
;
27
use
ILIAS\Component\Resource\Endpoint
;
28
29
class
FileDelivery
implements
Component
30
{
31
public
function
init
(
32
array | \
ArrayAccess
&$define,
33
array | \
ArrayAccess
&$implement,
34
array | \
ArrayAccess
&$use,
35
array | \
ArrayAccess
&$contribute,
36
array | \
ArrayAccess
&$seek,
37
array | \
ArrayAccess
&$provide,
38
array | \
ArrayAccess
&$pull,
39
array | \
ArrayAccess
&$internal,
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
}
49
}
ILIAS\FileDelivery\init
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,)
Definition:
FileDelivery.php:31
Endpoint
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ILIAS\Setup\Agent
Definition:
class.Agent.php:26
ILIAS\UI\Component
ILIAS\FileDelivery
Definition:
FileDelivery.php:29
ILIAS\Component\Resource\Endpoint
An endpoint is a PHP file that produces output via HTTP.
Definition:
Endpoint.php:28
Factory
ArrayAccess
Component
PublicAsset
ILIAS\Setup\Agent
Definition:
HasNoNamedObjective.php:21
components
ILIAS
FileDelivery
FileDelivery.php
Generated on Sun Aug 31 2025 23:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)