ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Listing.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
32class Listing extends Popover implements C\Popover\Listing
33{
37 protected array $items;
38
43 {
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)
@inheritDoc