ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Listing.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\UI\Implementation\Component\Popover
;
4
5
use \ILIAS\UI\Component;
6
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
7
14
class
Listing
extends
Popover
implements
Component\Popover\Listing
15
{
16
20
protected
$items
;
21
22
27
public
function
__construct
(
$items
,
SignalGeneratorInterface
$signal_generator
)
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
}
ILIAS\UI\Implementation\Component\Popover\Listing\__construct
__construct($items, SignalGeneratorInterface $signal_generator)
Definition:
Listing.php:27
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Popover
Definition:
Factory.php:3
ILIAS\UI\Implementation\Component\checkArgListElements
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
Definition:
ComponentHelper.php:185
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:11
ILIAS\UI\Implementation\Component\Popover\Listing\$items
$items
Definition:
Listing.php:20
ILIAS\UI\Implementation\Component\Popover\Popover\$signal_generator
$signal_generator
Definition:
Popover.php:44
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
SignalGeneratorInterface
ILIAS\UI\Implementation\Component\Popover\Popover
Definition:
Popover.php:17
ILIAS\UI\Implementation\Component\Popover\Listing
Definition:
Listing.php:14
ILIAS\UI\Implementation\Component\Popover\Listing\getItems
getItems()
Get the list items of this popover.Item[]
Definition:
Listing.php:40
src
UI
Implementation
Component
Popover
Listing.php
Generated on Tue Jan 28 2025 19:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)