ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Listing.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use \ILIAS\UI\Component;
7 
14 class Listing extends Popover implements Component\Popover\Listing
15 {
16 
20  protected $items;
21 
22 
28  {
29  parent::__construct($signal_generator);
30  // TODO Correct type hinting and checks on list item, once this component is available in the framework
31  $types = array( Component\Component::class );
32  $this->checkArgListElements('items', $items, $types);
33  $this->items = $items;
34  }
35 
36 
40  public function getItems()
41  {
42  return $this->items;
43  }
44 }
__construct($items, SignalGeneratorInterface $signal_generator)
Definition: Listing.php:27
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
Create styles array
The data for the language used.
getItems()
Get the list items of this popover.Item[]
Definition: Listing.php:40