19 declare(strict_types=1);
28 class Factory implements \ILIAS\UI\Factory
31 protected C\Counter\
Factory $counter_factory,
33 protected C\Listing\
Factory $listing_factory,
35 protected C\Panel\
Factory $panel_factory,
36 protected C\Modal\
Factory $modal_factory,
37 protected C\Progress\
Factory $progress_factory,
38 protected C\Dropzone\
Factory $dropzone_factory,
39 protected C\Popover\
Factory $popover_factory,
40 protected C\Divider\
Factory $divider_factory,
42 protected C\Dropdown\
Factory $dropdown_factory,
43 protected C\Item\
Factory $item_factory,
44 protected C\ViewControl\
Factory $viewcontrol_factory,
46 protected C\Input\
Factory $input_factory,
48 protected C\MessageBox\
Factory $messagebox_factory,
50 protected C\Layout\
Factory $layout_factory,
51 protected C\MainControls\
Factory $maincontrols_factory,
53 protected C\Menu\
Factory $menu_factory,
54 protected C\Symbol\
Factory $symbol_factory,
55 protected C\Toast\
Factory $toast_factory,
58 protected C\Entity\
Factory $entity_factory,
68 return $this->counter_factory;
76 return $this->button_factory;
84 return $this->card_factory;
100 return $this->listing_factory;
108 return $this->image_factory;
121 return $this->legacy_factory->legacy($content);
129 return $this->panel_factory;
137 return $this->modal_factory;
142 return $this->progress_factory;
150 return $this->dropzone_factory;
158 return $this->popover_factory;
166 return $this->divider_factory;
174 return $this->link_factory;
182 return $this->dropdown_factory;
190 return $this->item_factory;
199 return $this->viewcontrol_factory;
215 return $this->chart_factory;
223 return $this->input_factory;
231 return $this->table_factory;
239 return $this->messagebox_factory;
247 return $this->layout_factory;
255 return $this->maincontrols_factory;
263 return $this->tree_factory;
271 return $this->menu_factory;
279 return $this->symbol_factory;
284 return $this->toast_factory;
290 fn($t) =>
new Help\
Topic($t),
297 return $this->launcher_factory;
302 return $this->entity_factory;
307 return $this->prompt_factory;
link()
description: purpose: > Links are used navigate to other resources or views of the system by clickin...
input()
description: purpose: > In opposite to components with a purely receptive or at most navigational ch...
deck(array $cards)
description: purpose: > Decks are used to display multiple Cards in a grid.They should be used if a ...
This is just a class that marks a string as a help topic.
symbol()
description: purpose: > Symbols are graphical representations of concepts or contexts quickly compre...
menu()
description: purpose: > Menus let the user choose from several (navigational) options.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
prompt()
description: purpose: > A Prompt requires a user to make some inputs to the system, like making choices, acknowleding an important information or filling out a form.
progress()
description: purpose: > A Progress component is designed to represent the users advancement within a...
chart()
description: purpose: > Charts are used to graphically represent data in various forms such as maps...
helpTopics(string ... $topics)
description: purpose: > Help Topics can be attached to certain components.
__construct(protected C\Counter\Factory $counter_factory, protected C\Button\Factory $button_factory, protected C\Listing\Factory $listing_factory, protected C\Image\Factory $image_factory, protected C\Panel\Factory $panel_factory, protected C\Modal\Factory $modal_factory, protected C\Progress\Factory $progress_factory, protected C\Dropzone\Factory $dropzone_factory, protected C\Popover\Factory $popover_factory, protected C\Divider\Factory $divider_factory, protected C\Link\Factory $link_factory, protected C\Dropdown\Factory $dropdown_factory, protected C\Item\Factory $item_factory, protected C\ViewControl\Factory $viewcontrol_factory, protected C\Chart\Factory $chart_factory, protected C\Input\Factory $input_factory, protected C\Table\Factory $table_factory, protected C\MessageBox\Factory $messagebox_factory, protected C\Card\Factory $card_factory, protected C\Layout\Factory $layout_factory, protected C\MainControls\Factory $maincontrols_factory, protected C\Tree\Factory $tree_factory, protected C\Menu\Factory $menu_factory, protected C\Symbol\Factory $symbol_factory, protected C\Toast\Factory $toast_factory, protected C\Legacy\Factory $legacy_factory, protected C\launcher\Factory $launcher_factory, protected C\Entity\Factory $entity_factory, protected C\Prompt\Factory $prompt_factory,)
tree()
description: purpose: > Trees present hierarchically structured data.rivals: Drilldown: > A Drilldow...
table()
description: purpose: > Tables present a set of uniformly structured data.
listing()
description: purpose: > Listings are used to structure itemised textual information.composition: > Listings may contain ordered, unordered, or labeled items. effect: > Listings hold only textual information. They may contain Links but no Buttons. rules: composition: 1: Listings MUST NOT contain Buttons.
layout()
description: purpose: > Layout components are components used for the overall construction of the us...
popover()
description: purpose: > Popovers can be used when space is scarce i.e.within List GUI items...
dropdown()
description: purpose: > Dropdowns reveal a list of interactions that change the system’s status or ...
dropzone()
description: purpose: > Dropzones are containers used to drop either files or other HTML elements...
divider()
description: purpose: > A divider marks a thematic change in a sequence of other components...
toast()
description: purpose: Toasts are temporary messages from the system published to the user...
card()
description: purpose: > A card is a flexible content container for small chunks of structured data...
counter()
description: purpose: > Counter inform users about the quantity of items indicated by a glyph...
viewControl()
description: purpose: > View Controls switch between different visualisation of data.composition: > View Controls are composed mainly of buttons, they are often found in toolbars. effect: Interacting with a view control changes to display in some content area.
mainControls()
description: purpose: > Main Controls are components that are always usable, depending only on overa...
legacy(string $content)
description: purpose: > This component is used to wrap an existing ILIAS UI element into a UI compon...
image()
description: purpose: The Image component is used to display images of various sources.composition: > An Image is composed of the image and an alternative text for screen readers. An Image MAY contain an initial source of reduced size and additional higher resolution sources optimized for different display sizes to be loaded asynchronously once the actual size on the screen is known.rules: interaction: 1: > Images MAY be included in interactive components. Images MAY also be interactive on their own. Clicking on an Image can e.g. provide navigation to another screen or showing a Modal on the same screen. The usage of an interactive Image MUST be confirmed by the JF to make sure that interactive Images will only be used in meaningful cases. accessibility: 1: > Images MUST contain the alt attribute. This attribute MAY be left empty (alt="") if the image is of decorative nature. According to the WAI, decorative images don’t add information to the content of a page. For example, the information provided by the image might already be given using adjacent text, or the image might be included to make the website more visually attractive (see https://www.w3.org/WAI/tutorials/images/decorative/). composition: 1: > If an Image may be displayed in widely differing sizes differently sized sources SHOULD be added as additional high resolution resource sources to reduce loading times without diminishing the user experience.
launcher()
description: purpose: > The Launcher starts an object, a process or a workflow.
breadcrumbs(array $crumbs)
description: purpose: > Breadcrumbs is a supplemental navigation scheme.It eases the user's navigati...
item()
description: purpose: > An item displays a unique entity within the system.It shows information abou...
modal()
description: purpose: The Modal forces users to focus on the task at hand.composition: > A Modal is ...
entity()
description: purpose: > An Entity displays information about entities within the system...
button()
description: purpose: > Buttons trigger interactions that change the system’s or view's status...
panel()
description: purpose: > Panels are used to group titled content.composition: > Panels consist of a h...
messageBox()
description: purpose: > Message Boxes inform the user about the state of the system or an ongoing us...
player()
description: purpose: > The Player component is used to play and control a media source...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...