ILIAS  trunk Revision v12.0_alpha-33-ge186251a14d
ComponentFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26use DateTimeImmutable;
30
32{
33 public function getPanel(
34 ViewControlInfos $view_control_infos,
35 Item ...$items
36 ): ListingPanel;
37
38 public function getItemForObject(
39 string $type_icon_path,
40 string $type_icon_label,
41 string $title,
42 ?URI $link,
43 string $description,
44 string $content,
45 string $path,
46 DateTimeImmutable $created_on,
47 string $copyright,
48 ?Signal $subitem_show_signal
49 ): Item;
50
51 public function getItemForSubitem(
52 string $title,
53 ?URI $link,
54 bool $open_link_in_new_viewport,
55 string $content,
56 string $type,
57 string $copyright
58 ): Item;
59
60 public function getModalForSubitems(
61 string $object_title,
62 int $items_per_page,
63 bool $show_too_many_items_warning,
64 Item ...$items
65 ): ?Modal;
66}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
getModalForSubitems(string $object_title, int $items_per_page, bool $show_too_many_items_warning, Item ... $items)
getItemForObject(string $type_icon_path, string $type_icon_label, string $title, ?URI $link, string $description, string $content, string $path, DateTimeImmutable $created_on, string $copyright, ?Signal $subitem_show_signal)
getPanel(ViewControlInfos $view_control_infos, Item ... $items)
getItemForSubitem(string $title, ?URI $link, bool $open_link_in_new_viewport, string $content, string $type, string $copyright)
Common interface to all items.
Definition: Item.php:32
This describes commonalities between the different modals.
Definition: Modal.php:35
$path
Definition: ltiservices.php:30