ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Standard.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use \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 }
__construct($content, SignalGeneratorInterface $signal_generator)
Definition: Standard.php:27
__construct(Container $dic, ilPlugin $plugin)
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. ...
getContent()
Get the components representing the content of the popover.Component[]
Definition: Standard.php:40