ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Init.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
23 class 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, "sso/index.php", "sso");
58 
59  $contribute[Component\Resource\PublicAsset::class] = fn() =>
60  new Component\Resource\OfComponent($this, ".htaccess", ".");
61 
62  $contribute[Component\EntryPoint::class] = static fn() =>
64  $pull[\ILIAS\Refinery\Factory::class],
65  $pull[\ILIAS\Data\Factory::class],
66  $use[\ILIAS\UI\Factory::class],
67  $use[\ILIAS\UI\Renderer::class],
68  $pull[\ILIAS\UI\Implementation\Component\Counter\Factory::class],
69  $pull[\ILIAS\UI\Implementation\Component\Button\Factory::class],
70  $pull[\ILIAS\UI\Implementation\Component\Listing\Factory::class],
71  $pull[\ILIAS\UI\Implementation\Component\Listing\Workflow\Factory::class],
72  $pull[\ILIAS\UI\Implementation\Component\Listing\CharacteristicValue\Factory::class],
73  $pull[\ILIAS\UI\Implementation\Component\Listing\Entity\Factory::class],
74  $pull[\ILIAS\UI\Implementation\Component\Image\Factory::class],
75  $pull[\ILIAS\UI\Implementation\Component\Player\Factory::class],
76  $pull[\ILIAS\UI\Implementation\Component\Panel\Factory::class],
77  $pull[\ILIAS\UI\Implementation\Component\Modal\Factory::class],
78  $pull[\ILIAS\UI\Implementation\Component\Dropzone\Factory::class],
79  $pull[\ILIAS\UI\Implementation\Component\Popover\Factory::class],
80  $pull[\ILIAS\UI\Implementation\Component\Divider\Factory::class],
81  $pull[\ILIAS\UI\Implementation\Component\Link\Factory::class],
82  $pull[\ILIAS\UI\Implementation\Component\Dropdown\Factory::class],
83  $pull[\ILIAS\UI\Implementation\Component\Item\Factory::class],
84  $pull[\ILIAS\UI\Implementation\Component\ViewControl\Factory::class],
85  $pull[\ILIAS\UI\Implementation\Component\Chart\Factory::class],
86  $pull[\ILIAS\UI\Implementation\Component\Input\Factory::class],
87  $pull[\ILIAS\UI\Implementation\Component\Table\Factory::class],
88  $pull[\ILIAS\UI\Implementation\Component\MessageBox\Factory::class],
89  $pull[\ILIAS\UI\Implementation\Component\Card\Factory::class],
90  $pull[\ILIAS\UI\Implementation\Component\Layout\Factory::class],
91  $pull[\ILIAS\UI\Implementation\Component\Layout\Page\Factory::class],
92  $pull[\ILIAS\UI\Implementation\Component\Layout\Alignment\Factory::class],
93  $pull[\ILIAS\UI\Implementation\Component\MainControls\Factory::class],
94  $pull[\ILIAS\UI\Implementation\Component\Tree\Factory::class],
95  $pull[\ILIAS\UI\Implementation\Component\Tree\Node\Factory::class],
96  $pull[\ILIAS\UI\Implementation\Component\Menu\Factory::class],
97  $pull[\ILIAS\UI\Implementation\Component\Symbol\Factory::class],
98  $pull[\ILIAS\UI\Implementation\Component\Toast\Factory::class],
99  $pull[\ILIAS\UI\Implementation\Component\Legacy\Factory::class],
100  $pull[\ILIAS\UI\Implementation\Component\Launcher\Factory::class],
101  $pull[\ILIAS\UI\Implementation\Component\Entity\Factory::class],
102  $pull[\ILIAS\UI\Implementation\Component\Panel\Listing\Factory::class],
103  $pull[\ILIAS\UI\Implementation\Component\Panel\Secondary\Factory::class],
104  $pull[\ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\Factory::class],
105  $pull[\ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Factory::class],
106  $pull[\ILIAS\UI\Implementation\Component\Chart\Bar\Factory::class],
107  $pull[\ILIAS\UI\Implementation\Component\Input\ViewControl\Factory::class],
108  $pull[\ILIAS\UI\Implementation\Component\Input\Container\ViewControl\Factory::class],
109  $pull[\ILIAS\UI\Implementation\Component\Table\Column\Factory::class],
110  $pull[\ILIAS\UI\Implementation\Component\Table\Factory::class],
111  $pull[\ILIAS\UI\Implementation\Component\MainControls\Slate\Factory::class],
112  $pull[\ILIAS\UI\Implementation\Component\Symbol\Icon\Factory::class],
113  $pull[\ILIAS\UI\Implementation\Component\Symbol\Glyph\Factory::class],
114  $pull[\ILIAS\UI\Implementation\Component\Symbol\Avatar\Factory::class],
115  $pull[\ILIAS\UI\Implementation\Component\Input\Container\Form\Factory::class],
116  $pull[\ILIAS\UI\Implementation\Component\Input\Container\Filter\Factory::class],
117  $pull[\ILIAS\UI\Implementation\Component\Input\Field\Factory::class],
118  $pull[\ILIAS\UI\Implementation\Component\Prompt\Factory::class],
119  $pull[\ILIAS\UI\Implementation\Component\Prompt\State\Factory::class],
120  $pull[\ILIAS\UI\Implementation\Component\Progress\Factory::class],
121  $pull[\ILIAS\UI\Implementation\Component\Progress\State\Factory::class],
122  $pull[\ILIAS\UI\Implementation\Component\Progress\State\Bar\Factory::class],
123  $pull[\ILIAS\UI\Implementation\Component\Input\UploadLimitResolver::class],
124  );
125  }
126 }
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
Interface Observer Contains several chained tasks and infos about them.
This entry point can be thought of as a list of all modern components.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An endpoint is a PHP file that produces output via HTTP.
Definition: Endpoint.php:28
An public asset that is a resource of some component.
Definition: OfComponent.php:26