ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
AllModernComponents.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Init;
22 
34 {
35  public function __construct(
36  protected \ILIAS\Refinery\Factory $refinery_factory,
37  protected \ILIAS\Data\Factory $data_factory,
38  protected \ILIAS\UI\Factory $ui_factory,
39  protected \ILIAS\UI\Renderer $ui_renderer,
40  protected \ILIAS\UI\Implementation\Component\Counter\Factory $ui_factory_counter,
41  protected \ILIAS\UI\Implementation\Component\Button\Factory $ui_factory_button,
42  protected \ILIAS\UI\Implementation\Component\Listing\Factory $ui_factory_listing,
43  protected \ILIAS\UI\Implementation\Component\Listing\Workflow\Factory $ui_factory_listing_workflow,
44  protected \ILIAS\UI\Implementation\Component\Listing\CharacteristicValue\Factory $ui_factory_listing_characteristic_value,
45  protected \ILIAS\UI\Implementation\Component\Listing\Entity\Factory $ui_factory_listing_entity,
46  protected \ILIAS\UI\Implementation\Component\Image\Factory $ui_factory_image,
47  protected \ILIAS\UI\Implementation\Component\Player\Factory $ui_factory_player,
48  protected \ILIAS\UI\Implementation\Component\Panel\Factory $ui_factory_panel,
49  protected \ILIAS\UI\Implementation\Component\Modal\Factory $ui_factory_modal,
50  protected \ILIAS\UI\Implementation\Component\Dropzone\Factory $ui_factory_dropzone,
51  protected \ILIAS\UI\Implementation\Component\Popover\Factory $ui_factory_popover,
52  protected \ILIAS\UI\Implementation\Component\Divider\Factory $ui_factory_divider,
53  protected \ILIAS\UI\Implementation\Component\Link\Factory $ui_factory_link,
54  protected \ILIAS\UI\Implementation\Component\Dropdown\Factory $ui_factory_dropdown,
55  protected \ILIAS\UI\Implementation\Component\Item\Factory $ui_factory_item,
56  protected \ILIAS\UI\Implementation\Component\Viewcontrol\Factory $ui_factory_viewcontrol,
57  protected \ILIAS\UI\Implementation\Component\Chart\Factory $ui_factory_chart,
58  protected \ILIAS\UI\Implementation\Component\Input\Factory $ui_factory_input,
59  protected \ILIAS\UI\Implementation\Component\Table\Factory $ui_factory_table,
60  protected \ILIAS\UI\Implementation\Component\MessageBox\Factory $ui_factory_messagebox,
61  protected \ILIAS\UI\Implementation\Component\Card\Factory $ui_factory_card,
62  protected \ILIAS\UI\Implementation\Component\Layout\Factory $ui_factory_layout,
63  protected \ILIAS\UI\Implementation\Component\Layout\Page\Factory $ui_factory_layout_page,
64  protected \ILIAS\UI\Implementation\Component\Layout\Alignment\Factory $ui_factory_layout_alignment,
65  protected \ILIAS\UI\Implementation\Component\Maincontrols\Factory $ui_factory_maincontrols,
66  protected \ILIAS\UI\Implementation\Component\Tree\Factory $ui_factory_tree,
67  protected \ILIAS\UI\Implementation\Component\Tree\Node\Factory $ui_factory_tree_node,
68  protected \ILIAS\UI\Implementation\Component\Menu\Factory $ui_factory_menu,
69  protected \ILIAS\UI\Implementation\Component\Symbol\Factory $ui_factory_symbol,
70  protected \ILIAS\UI\Implementation\Component\Toast\Factory $ui_factory_toast,
71  protected \ILIAS\UI\Implementation\Component\Legacy\Factory $ui_factory_legacy,
72  protected \ILIAS\UI\Implementation\Component\Launcher\Factory $ui_factory_launcher,
73  protected \ILIAS\UI\Implementation\Component\Entity\Factory $ui_factory_entity,
74  protected \ILIAS\UI\Implementation\Component\Panel\Listing\Factory $ui_factory_panel_listing,
75  protected \ILIAS\UI\Implementation\Component\Panel\Secondary\Factory $ui_factory_panel_secondary,
76  protected \ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\Factory $ui_factory_interruptive_item,
77  protected \ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Factory $ui_factory_progressmeter,
78  protected \ILIAS\UI\Implementation\Component\Chart\Bar\Factory $ui_factory_bar,
79  protected \ILIAS\UI\Implementation\Component\Input\Viewcontrol\Factory $ui_factory_input_viewcontrol,
80  protected \ILIAS\UI\Implementation\Component\Input\Container\ViewControl\Factory $ui_factory_input_container_viewcontrol,
81  protected \ILIAS\UI\Implementation\Component\Table\Column\Factory $ui_factory_table_column,
82  protected \ILIAS\UI\Implementation\Component\Table\Factory $ui_factory_table_action,
83  protected \ILIAS\UI\Implementation\Component\Maincontrols\Slate\Factory $ui_factory_maincontrols_slate,
84  protected \ILIAS\UI\Implementation\Component\Symbol\icon\Factory $ui_factory_symbol_icon,
85  protected \ILIAS\UI\Implementation\Component\Symbol\Glyph\Factory $ui_factory_symbol_glyph,
86  protected \ILIAS\UI\Implementation\Component\Symbol\avatar\Factory $ui_factory_symbol_avatar,
87  protected \ILIAS\UI\Implementation\Component\Input\Container\Form\Factory $ui_factory_input_container_form,
88  protected \ILIAS\UI\Implementation\Component\Input\Container\Filter\Factory $ui_factory_input_container_filter,
89  protected \ILIAS\UI\Implementation\Component\Input\Field\Factory $ui_factory_input_field,
90  protected \ILIAS\UI\Implementation\Component\Prompt\Factory $ui_prompt_factory,
91  protected \ILIAS\UI\Implementation\Component\Prompt\State\Factory $ui_prompt_state_factory,
92  protected \ILIAS\UI\Implementation\Component\Progress\Factory $ui_progress_factory,
93  protected \ILIAS\UI\Implementation\Component\Progress\State\Factory $ui_progress_state_factory,
94  protected \ILIAS\UI\Implementation\Component\Progress\State\Bar\Factory $ui_progress_state_bar_factory,
95  protected \ILIAS\UI\Implementation\Component\Input\UploadLimitResolver $ui_upload_limit_resolver,
96  ) {
97  }
98 
108  protected function populateComponentsInLegacyEnvironment(\Pimple\Container $DIC): void
109  {
110  $DIC[\ILIAS\Data\Factory::class] = fn() => $this->data_factory;
111 
112  $DIC['refinery'] = fn() => $this->refinery_factory;
113  $DIC['ui.factory.counter'] = fn() => $this->ui_factory_counter;
114  $DIC['ui.factory.button'] = fn() => $this->ui_factory_button;
115  $DIC['ui.factory.listing'] = fn() => $this->ui_factory_listing;
116  $DIC['ui.factory.listing.workflow'] = fn() => $this->ui_factory_listing_workflow;
117  $DIC['ui.factory.listing.characteristic_value'] = fn() => $this->ui_factory_listing_characteristic_value;
118  $DIC['ui.factory.listing.entity'] = fn() => $this->ui_factory_listing_entity;
119  $DIC['ui.factory.image'] = fn() => $this->ui_factory_image;
120  $DIC['ui.factory.player'] = fn() => $this->ui_factory_player;
121  $DIC['ui.factory.panel'] = fn() => $this->ui_factory_panel;
122  $DIC['ui.factory.modal'] = fn() => $this->ui_factory_modal;
123  $DIC['ui.factory.progress'] = fn() => $this->ui_progress_factory;
124  $DIC['ui.factory.progress.state'] = fn() => $this->ui_progress_state_factory;
125  $DIC['ui.factory.progress.state.bar'] = fn() => $this->ui_progress_state_bar_factory;
126  $DIC['ui.factory.dropzone'] = fn() => $this->ui_factory_dropzone;
127  $DIC['ui.factory.popover'] = fn() => $this->ui_factory_popover;
128  $DIC['ui.factory.divider'] = fn() => $this->ui_factory_divider;
129  $DIC['ui.factory.link'] = fn() => $this->ui_factory_link;
130  $DIC['ui.factory.dropdown'] = fn() => $this->ui_factory_dropdown;
131  $DIC['ui.factory.item'] = fn() => $this->ui_factory_item;
132  $DIC['ui.factory.viewcontrol'] = fn() => $this->ui_factory_viewcontrol;
133  $DIC['ui.factory.chart'] = fn() => $this->ui_factory_chart;
134  $DIC['ui.factory.input'] = fn() => $this->ui_factory_input;
135  $DIC['ui.factory.table'] = fn() => $this->ui_factory_table;
136  $DIC['ui.factory.messagebox'] = fn() => $this->ui_factory_messagebox;
137  $DIC['ui.factory.card'] = fn() => $this->ui_factory_card;
138  $DIC['ui.factory.layout'] = fn() => $this->ui_factory_layout;
139  $DIC['ui.factory.layout.page'] = fn() => $this->ui_factory_layout_page;
140  $DIC['ui.factory.layout.alignment'] = fn() => $this->ui_factory_layout_alignment;
141  $DIC['ui.factory.maincontrols'] = fn() => $this->ui_factory_maincontrols;
142  $DIC['ui.factory.tree'] = fn() => $this->ui_factory_tree;
143  $DIC['ui.factory.tree.node'] = fn() => $this->ui_factory_tree_node;
144  $DIC['ui.factory.menu'] = fn() => $this->ui_factory_menu;
145  $DIC['ui.factory.symbol'] = fn() => $this->ui_factory_symbol;
146  $DIC['ui.factory.toast'] = fn() => $this->ui_factory_toast;
147  $DIC['ui.factory.legacy'] = fn() => $this->ui_factory_legacy;
148  $DIC['ui.factory.launcher'] = fn() => $this->ui_factory_launcher;
149  $DIC['ui.factory.entity'] = fn() => $this->ui_factory_entity;
150  $DIC['ui.factory.prompt'] = fn() => $this->ui_prompt_factory;
151  $DIC['ui.factory.prompt.state'] = fn() => $this->ui_prompt_state_factory;
152  $DIC['ui.factory.panel.listing'] = fn() => $this->ui_factory_panel_listing;
153  $DIC['ui.factory.panel.secondary'] = fn() => $this->ui_factory_panel_secondary;
154  $DIC['ui.factory.interruptive_item'] = fn() => $this->ui_factory_interruptive_item;
155  $DIC['ui.factory.progressmeter'] = fn() => $this->ui_factory_progressmeter;
156  $DIC['ui.factory.bar'] = fn() => $this->ui_factory_bar;
157  $DIC['ui.factory.input.viewcontrol'] = fn() => $this->ui_factory_input_viewcontrol;
158  $DIC['ui.factory.input.container.viewcontrol'] = fn() => $this->ui_factory_input_container_viewcontrol;
159  $DIC['ui.factory.table.column'] = fn() => $this->ui_factory_table_column;
160  $DIC['ui.factory.table.action'] = fn() => $this->ui_factory_table_action;
161  $DIC['ui.factory.maincontrols.slate'] = fn() => $this->ui_factory_maincontrols_slate;
162  $DIC['ui.factory.symbol.icon'] = fn() => $this->ui_factory_symbol_icon;
163  $DIC['ui.factory.symbol.glyph'] = fn() => $this->ui_factory_symbol_glyph;
164  $DIC['ui.factory.symbol.avatar'] = fn() => $this->ui_factory_symbol_avatar;
165  $DIC['ui.factory.input.container.form'] = fn() => $this->ui_factory_input_container_form;
166  $DIC['ui.factory.input.container.filter'] = fn() => $this->ui_factory_input_container_filter;
167  $DIC['ui.factory.input.field'] = fn() => $this->ui_factory_input_field;
168  $DIC['ui.upload_limit_resolver'] = fn() => $this->ui_upload_limit_resolver;
169  $DIC['ui.factory'] = fn() => $this->ui_factory;
170  $DIC['ui.renderer'] = fn() => $this->ui_renderer;
171  }
172 
173  public function getName(): string
174  {
175  return 'ILIAS Legacy Initialisation Adapter';
176  }
177 
178  public function enter(): int
179  {
180  global $DIC;
181 
182  $DIC = new \ILIAS\DI\Container();
183  $GLOBALS['DIC'] = $DIC;
184 
186 
188 
189  return 0;
190  }
191 }
populateComponentsInLegacyEnvironment(\Pimple\Container $DIC)
Populates already bootstrapped components in the legacy service locator $DIC.
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...
__construct(protected \ILIAS\Refinery\Factory $refinery_factory, protected \ILIAS\Data\Factory $data_factory, protected \ILIAS\UI\Factory $ui_factory, protected \ILIAS\UI\Renderer $ui_renderer, protected \ILIAS\UI\Implementation\Component\Counter\Factory $ui_factory_counter, protected \ILIAS\UI\Implementation\Component\Button\Factory $ui_factory_button, protected \ILIAS\UI\Implementation\Component\Listing\Factory $ui_factory_listing, protected \ILIAS\UI\Implementation\Component\Listing\Workflow\Factory $ui_factory_listing_workflow, protected \ILIAS\UI\Implementation\Component\Listing\CharacteristicValue\Factory $ui_factory_listing_characteristic_value, protected \ILIAS\UI\Implementation\Component\Listing\Entity\Factory $ui_factory_listing_entity, protected \ILIAS\UI\Implementation\Component\Image\Factory $ui_factory_image, protected \ILIAS\UI\Implementation\Component\Player\Factory $ui_factory_player, protected \ILIAS\UI\Implementation\Component\Panel\Factory $ui_factory_panel, protected \ILIAS\UI\Implementation\Component\Modal\Factory $ui_factory_modal, protected \ILIAS\UI\Implementation\Component\Dropzone\Factory $ui_factory_dropzone, protected \ILIAS\UI\Implementation\Component\Popover\Factory $ui_factory_popover, protected \ILIAS\UI\Implementation\Component\Divider\Factory $ui_factory_divider, protected \ILIAS\UI\Implementation\Component\Link\Factory $ui_factory_link, protected \ILIAS\UI\Implementation\Component\Dropdown\Factory $ui_factory_dropdown, protected \ILIAS\UI\Implementation\Component\Item\Factory $ui_factory_item, protected \ILIAS\UI\Implementation\Component\Viewcontrol\Factory $ui_factory_viewcontrol, protected \ILIAS\UI\Implementation\Component\Chart\Factory $ui_factory_chart, protected \ILIAS\UI\Implementation\Component\Input\Factory $ui_factory_input, protected \ILIAS\UI\Implementation\Component\Table\Factory $ui_factory_table, protected \ILIAS\UI\Implementation\Component\MessageBox\Factory $ui_factory_messagebox, protected \ILIAS\UI\Implementation\Component\Card\Factory $ui_factory_card, protected \ILIAS\UI\Implementation\Component\Layout\Factory $ui_factory_layout, protected \ILIAS\UI\Implementation\Component\Layout\Page\Factory $ui_factory_layout_page, protected \ILIAS\UI\Implementation\Component\Layout\Alignment\Factory $ui_factory_layout_alignment, protected \ILIAS\UI\Implementation\Component\Maincontrols\Factory $ui_factory_maincontrols, protected \ILIAS\UI\Implementation\Component\Tree\Factory $ui_factory_tree, protected \ILIAS\UI\Implementation\Component\Tree\Node\Factory $ui_factory_tree_node, protected \ILIAS\UI\Implementation\Component\Menu\Factory $ui_factory_menu, protected \ILIAS\UI\Implementation\Component\Symbol\Factory $ui_factory_symbol, protected \ILIAS\UI\Implementation\Component\Toast\Factory $ui_factory_toast, protected \ILIAS\UI\Implementation\Component\Legacy\Factory $ui_factory_legacy, protected \ILIAS\UI\Implementation\Component\Launcher\Factory $ui_factory_launcher, protected \ILIAS\UI\Implementation\Component\Entity\Factory $ui_factory_entity, protected \ILIAS\UI\Implementation\Component\Panel\Listing\Factory $ui_factory_panel_listing, protected \ILIAS\UI\Implementation\Component\Panel\Secondary\Factory $ui_factory_panel_secondary, protected \ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\Factory $ui_factory_interruptive_item, protected \ILIAS\UI\Implementation\Component\Chart\ProgressMeter\Factory $ui_factory_progressmeter, protected \ILIAS\UI\Implementation\Component\Chart\Bar\Factory $ui_factory_bar, protected \ILIAS\UI\Implementation\Component\Input\Viewcontrol\Factory $ui_factory_input_viewcontrol, protected \ILIAS\UI\Implementation\Component\Input\Container\ViewControl\Factory $ui_factory_input_container_viewcontrol, protected \ILIAS\UI\Implementation\Component\Table\Column\Factory $ui_factory_table_column, protected \ILIAS\UI\Implementation\Component\Table\Factory $ui_factory_table_action, protected \ILIAS\UI\Implementation\Component\Maincontrols\Slate\Factory $ui_factory_maincontrols_slate, protected \ILIAS\UI\Implementation\Component\Symbol\icon\Factory $ui_factory_symbol_icon, protected \ILIAS\UI\Implementation\Component\Symbol\Glyph\Factory $ui_factory_symbol_glyph, protected \ILIAS\UI\Implementation\Component\Symbol\avatar\Factory $ui_factory_symbol_avatar, protected \ILIAS\UI\Implementation\Component\Input\Container\Form\Factory $ui_factory_input_container_form, protected \ILIAS\UI\Implementation\Component\Input\Container\Filter\Factory $ui_factory_input_container_filter, protected \ILIAS\UI\Implementation\Component\Input\Field\Factory $ui_factory_input_field, protected \ILIAS\UI\Implementation\Component\Prompt\Factory $ui_prompt_factory, protected \ILIAS\UI\Implementation\Component\Prompt\State\Factory $ui_prompt_state_factory, protected \ILIAS\UI\Implementation\Component\Progress\Factory $ui_progress_factory, protected \ILIAS\UI\Implementation\Component\Progress\State\Factory $ui_progress_state_factory, protected \ILIAS\UI\Implementation\Component\Progress\State\Bar\Factory $ui_progress_state_bar_factory, protected \ILIAS\UI\Implementation\Component\Input\UploadLimitResolver $ui_upload_limit_resolver,)
static initILIAS()
ilias initialisation
$GLOBALS["DIC"]
Definition: wac.php:53
global $DIC
Definition: shib_login.php:22
enter()
Pass program execution to this entry point.
Builds data types.
Definition: Factory.php:35
An entrypoint is where the programm execution starts.
Definition: EntryPoint.php:27