ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Listing.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
25 
32 class Listing extends Popover implements C\Popover\Listing
33 {
37  protected array $items;
38 
43  {
44  parent::__construct($signal_generator);
45  // TODO Correct type hinting and checks on list item, once this component is available in the framework
46  $types = array( C\Component::class );
47  $this->checkArgListElements('items', $items, $types);
48  $this->items = $items;
49  }
50 
54  public function getItems(): array
55  {
56  return $this->items;
57  }
58 }
__construct(array $items, SignalGeneratorInterface $signal_generator)
Definition: Listing.php:42
SignalGeneratorInterface $signal_generator
Definition: Popover.php:44
__construct(Container $dic, ilPlugin $plugin)