ILIAS  release_8 Revision v8.24
Lightbox.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
26
30class Lightbox extends Modal implements Component\Modal\Lightbox
31{
35 protected array $pages;
36
42 {
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}
getPages()
Get the lightbox pages of this modal.LightboxPage[]
Definition: Lightbox.php:53
__construct($pages, SignalGeneratorInterface $signal_generator)
Definition: Lightbox.php:41
SignalGeneratorInterface $signal_generator
Definition: Modal.php:42
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21