ILIAS  release_7 Revision v7.30-3-g800a261c036
Listing.php
Go to the documentation of this file.
1<?php
2
4
5use \ILIAS\UI\Component;
7
15{
16
20 protected $items;
21
22
28 {
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}
An exception for terminatinating execution or to throw for unit testing.
getItems()
Get the list items of this popover.\ILIAS\UI\Component\Item\Item[]
Definition: Listing.php:40
__construct($items, SignalGeneratorInterface $signal_generator)
Definition: Listing.php:27
A component is the most general form of an entity in the UI.
Definition: Component.php:14
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes.