ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Init.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
23class Init implements Component\Component
24{
25 public function init(
26 array | \ArrayAccess &$define,
27 array | \ArrayAccess &$implement,
28 array | \ArrayAccess &$use,
29 array | \ArrayAccess &$contribute,
30 array | \ArrayAccess &$seek,
31 array | \ArrayAccess &$provide,
32 array | \ArrayAccess &$pull,
33 array | \ArrayAccess &$internal,
34 ): void {
35 $contribute[Component\Resource\PublicAsset::class] = fn() =>
36 new Component\Resource\Endpoint($this, "register.php");
37
38 $contribute[Component\Resource\PublicAsset::class] = fn() =>
39 new Component\Resource\Endpoint($this, "pwassist.php");
40
41 $contribute[Component\Resource\PublicAsset::class] = fn() =>
42 new Component\Resource\Endpoint($this, "login.php");
43
44 $contribute[Component\Resource\PublicAsset::class] = fn() =>
45 new Component\Resource\Endpoint($this, "logout.php");
46
47 $contribute[Component\Resource\PublicAsset::class] = fn() =>
48 new Component\Resource\Endpoint($this, "index.php");
49
50 $contribute[Component\Resource\PublicAsset::class] = fn() =>
51 new Component\Resource\Endpoint($this, "ilias.php");
52
53 $contribute[Component\Resource\PublicAsset::class] = fn() =>
54 new Component\Resource\Endpoint($this, "error.php");
55
56 $contribute[Component\Resource\PublicAsset::class] = fn() =>
57 new Component\Resource\Endpoint($this, "service-worker.js");
58
59 $contribute[Component\Resource\PublicAsset::class] = fn() =>
60 new Component\Resource\Endpoint($this, "sso/index.php", "sso");
61
62 $contribute[Component\Resource\PublicAsset::class] = fn() =>
63 new Component\Resource\OfComponent($this, ".htaccess", ".");
64
65 $contribute[Component\EntryPoint::class] = static fn() =>
67 $pull[\ILIAS\Refinery\Factory::class],
68 $pull[\ILIAS\Data\Factory::class],
69 $use[\ILIAS\UI\Factory::class],
70 $use[\ILIAS\UI\Renderer::class],
71 $pull[\ILIAS\UI\Implementation\Component\Counter\Factory::class],
72 $pull[\ILIAS\UI\Implementation\Component\Button\Factory::class],
73 $pull[\ILIAS\UI\Implementation\Component\Listing\Factory::class],
74 $pull[\ILIAS\UI\Implementation\Component\Listing\Workflow\Factory::class],
75 $pull[\ILIAS\UI\Implementation\Component\Listing\CharacteristicValue\Factory::class],
76 $pull[\ILIAS\UI\Implementation\Component\Listing\Entity\Factory::class],
77 $pull[\ILIAS\UI\Implementation\Component\Image\Factory::class],
78 $pull[\ILIAS\UI\Implementation\Component\Player\Factory::class],
79 $pull[\ILIAS\UI\Implementation\Component\Panel\Factory::class],
80 $pull[\ILIAS\UI\Implementation\Component\Modal\Factory::class],
81 $pull[\ILIAS\UI\Implementation\Component\Dropzone\Factory::class],
82 $pull[\ILIAS\UI\Implementation\Component\Popover\Factory::class],
83 $pull[\ILIAS\UI\Implementation\Component\Divider\Factory::class],
84 $pull[\ILIAS\UI\Implementation\Component\Link\Factory::class],
85 $pull[\ILIAS\UI\Implementation\Component\Dropdown\Factory::class],
86 $pull[\ILIAS\UI\Implementation\Component\Item\Factory::class],
87 $pull[\ILIAS\UI\Implementation\Component\ViewControl\Factory::class],
88 $pull[\ILIAS\UI\Implementation\Component\Chart\Factory::class],
89 $pull[\ILIAS\UI\Implementation\Component\Input\Factory::class],
90 $pull[\ILIAS\UI\Implementation\Component\Table\Factory::class],
91 $pull[\ILIAS\UI\Implementation\Component\MessageBox\Factory::class],
92 $pull[\ILIAS\UI\Implementation\Component\Card\Factory::class],
93 $pull[\ILIAS\UI\Implementation\Component\Layout\Factory::class],
94 $pull[\ILIAS\UI\Implementation\Component\Layout\Page\Factory::class],
95 $pull[\ILIAS\UI\Implementation\Component\Layout\Alignment\Factory::class],
96 $pull[\ILIAS\UI\Implementation\Component\MainControls\Factory::class],
97 $pull[\ILIAS\UI\Implementation\Component\Tree\Factory::class],
98 $pull[\ILIAS\UI\Implementation\Component\Tree\Node\Factory::class],
99 $pull[\ILIAS\UI\Implementation\Component\Menu\Factory::class],
100 $pull[\ILIAS\UI\Implementation\Component\Symbol\Factory::class],
101 $pull[\ILIAS\UI\Implementation\Component\Toast\Factory::class],
102 $pull[\ILIAS\UI\Implementation\Component\Legacy\Factory::class],
103 $pull[\ILIAS\UI\Implementation\Component\Launcher\Factory::class],
104 $pull[\ILIAS\UI\Implementation\Component\Entity\Factory::class],
105 $pull[\ILIAS\UI\Implementation\Component\Panel\Listing\Factory::class],
106 $pull[\ILIAS\UI\Implementation\Component\Panel\Secondary\Factory::class],
107 $pull[\ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\Factory::class],
108 $pull[\ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Factory::class],
109 $pull[\ILIAS\UI\Implementation\Component\Chart\Bar\Factory::class],
110 $pull[\ILIAS\UI\Implementation\Component\Input\ViewControl\Factory::class],
111 $pull[\ILIAS\UI\Implementation\Component\Input\Container\ViewControl\Factory::class],
112 $pull[\ILIAS\UI\Implementation\Component\Table\Column\Factory::class],
113 $pull[\ILIAS\UI\Implementation\Component\Table\Factory::class],
114 $pull[\ILIAS\UI\Implementation\Component\MainControls\Slate\Factory::class],
115 $pull[\ILIAS\UI\Implementation\Component\Symbol\Icon\Factory::class],
116 $pull[\ILIAS\UI\Implementation\Component\Symbol\Glyph\Factory::class],
117 $pull[\ILIAS\UI\Implementation\Component\Symbol\Avatar\Factory::class],
118 $pull[\ILIAS\UI\Implementation\Component\Input\Container\Form\Factory::class],
119 $pull[\ILIAS\UI\Implementation\Component\Input\Container\Filter\Factory::class],
120 $pull[\ILIAS\UI\Implementation\Component\Input\Field\Factory::class],
121 $pull[\ILIAS\UI\Implementation\Component\Prompt\Factory::class],
122 $pull[\ILIAS\UI\Implementation\Component\Prompt\State\Factory::class],
123 $pull[\ILIAS\UI\Implementation\Component\Progress\Factory::class],
124 $pull[\ILIAS\UI\Implementation\Component\Progress\State\Factory::class],
125 $pull[\ILIAS\UI\Implementation\Component\Progress\State\Bar\Factory::class],
126 $pull[\ILIAS\UI\Implementation\Component\Input\UploadLimitResolver::class],
127 $use[\ILIAS\Setup\AgentFinder::class],
128 $pull[\ILIAS\UI\Implementation\Component\Navigation\Factory::class],
129 );
130 }
131}
An endpoint is a PHP file that produces output via HTTP.
Definition: Endpoint.php:29
An public asset that is a resource of some component.
Definition: OfComponent.php:27
This entry point can be thought of as a list of all modern components.
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: Init.php:25
Definition: UI.php:24
An public asset is a file or folder that should be served via the web.
Definition: PublicAsset.php:27
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This describes a symbol.
Definition: Symbol.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.