ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
DataCollection.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
25
27{
28 public function init(
29 array | \ArrayAccess &$define,
30 array | \ArrayAccess &$implement,
31 array | \ArrayAccess &$use,
32 array | \ArrayAccess &$contribute,
33 array | \ArrayAccess &$seek,
34 array | \ArrayAccess &$provide,
35 array | \ArrayAccess &$pull,
36 array | \ArrayAccess &$internal,
37 ): void {
38 $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
40 $pull[\ILIAS\Refinery\Factory::class]
41 );
42 $contribute[Component\Resource\PublicAsset::class] = fn() =>
43 new Component\Resource\ComponentJS($this, "datacollection.js");
44 $contribute[Component\Resource\PublicAsset::class] = fn() =>
45 new Component\Resource\ComponentJS($this, "generic_multi_line_input.js");
46 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
47 $this,
48 'dcl'
49 );
50 }
51}
This is a js file provided by some component.
Definition: ComponentJS.php:27
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,)
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
A directory of language files with a path and a prefix for them.
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.