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
}
ILIAS\UI\Implementation\Component\Popover\Standard
Definition:
Standard.php:14
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Popover
Definition:
Factory.php:3
ILIAS\UI\Implementation\Component\Popover\Standard\$content
$content
Definition:
Standard.php:20
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\Standard\__construct
__construct($content, SignalGeneratorInterface $signal_generator)
Definition:
Standard.php:27
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
ILIAS\UI\Implementation\Component\toArray
toArray($value)
Wrap the given value in an array if it is no array.
Definition:
ComponentHelper.php:211
SignalGeneratorInterface
ILIAS\UI\Implementation\Component\Popover\Popover
Definition:
Popover.php:17
ILIAS\UI\Implementation\Component\Popover\Standard\getContent
getContent()
Get the components representing the content of the popover.Component[]
Definition:
Standard.php:40
src
UI
Implementation
Component
Popover
Standard.php
Generated on Sat Jan 18 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)