ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Lightbox.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
26 
30 class Lightbox extends Modal implements Component\Modal\Lightbox
31 {
35  protected array $pages;
36 
42  {
43  parent::__construct($signal_generator);
44  $pages = $this->toArray($pages);
45  $types = array(LightboxPage::class);
46  $this->checkArgListElements('pages', $pages, $types);
47  $this->pages = $pages;
48  }
49 
53  public function getPages(): array
54  {
55  return $this->pages;
56  }
57 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct($pages, SignalGeneratorInterface $signal_generator)
Definition: Lightbox.php:41
SignalGeneratorInterface $signal_generator
Definition: Modal.php:42
getPages()
Get the lightbox pages of this modal.LightboxPage[]
Definition: Lightbox.php:53
__construct(Container $dic, ilPlugin $plugin)