ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Standard.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
Standard
extends
Popover
implements
Component\Popover\Standard
15
{
16
20
protected
$content
;
21
22
27
public
function
__construct
(
$content
,
SignalGeneratorInterface
$signal_generator
)
28
{
29
parent::__construct(
$signal_generator
);
30
$content
= $this->
toArray
(
$content
);
31
$types = array(
Component
\Component::class );
32
$this->
checkArgListElements
(
'content'
,
$content
, $types);
33
$this->content =
$content
;
34
}
35
36
40
public
function
getContent
()
41
{
42
return
$this->content
;
43
}
44
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\UI\Implementation\Component\Popover\Popover
Definition:
Popover.php:18
ILIAS\UI\Implementation\Component\Popover\Popover\$signal_generator
$signal_generator
Definition:
Popover.php:44
ILIAS\UI\Implementation\Component\Popover\Standard
Definition:
Standard.php:15
ILIAS\UI\Implementation\Component\Popover\Standard\$content
$content
Definition:
Standard.php:20
ILIAS\UI\Implementation\Component\Popover\Standard\getContent
getContent()
Get the components representing the content of the popover.Component[]
Definition:
Standard.php:40
ILIAS\UI\Implementation\Component\Popover\Standard\__construct
__construct($content, SignalGeneratorInterface $signal_generator)
Definition:
Standard.php:27
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:12
ILIAS\UI\Implementation\Component\Popover
Definition:
Factory.php:3
ILIAS\UI\Implementation\Component\toArray
toArray($value)
Wrap the given value in an array if it is no array.
Definition:
ComponentHelper.php:211
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
src
UI
Implementation
Component
Popover
Standard.php
Generated on Tue Sep 30 2025 19:01:23 for ILIAS by
1.9.4 (using
Doxyfile
)