ILIAS  release_8 Revision v8.24
Listing.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21