ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Standard.php
Go to the documentation of this file.
1<?php
2
4
5use \ILIAS\UI\Component;
7
15{
16
20 protected $content;
21
22
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}
An exception for terminatinating execution or to throw for unit testing.
getContent()
Get the components representing the content of the popover.Component[]
Definition: Standard.php:40
__construct($content, SignalGeneratorInterface $signal_generator)
Definition: Standard.php:27
A component is the most general form of an entity in the UI.
Definition: Component.php:14
toArray($value)
Wrap the given value in an array if it is no array.
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes.