ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Lightbox.php
Go to the documentation of this file.
1
<?php
2
namespace
ILIAS\UI\Implementation\Component\Modal
;
3
4
use
ILIAS\UI\Component
as
Component
;
5
use
ILIAS\UI\Component\Modal\LightboxPage
;
6
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
7
11
class
Lightbox
extends
Modal
implements
Component\Modal\Lightbox
12
{
13
17
protected
$pages
;
18
19
24
public
function
__construct
(
$pages
,
SignalGeneratorInterface
$signal_generator
)
25
{
26
parent::__construct
($signal_generator);
27
$pages
= $this->
toArray
(
$pages
);
28
$types = array(LightboxPage::class);
29
$this->
checkArgListElements
(
'pages'
,
$pages
, $types);
30
$this->pages =
$pages
;
31
}
32
36
public
function
getPages
()
37
{
38
return
$this->pages
;
39
}
40
}
ILIAS\UI\Implementation\Component\Modal
Definition:
Factory.php:2
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Modal\Modal
Base class for modals.
Definition:
Modal.php:16
LightboxPage
ILIAS\UI\Implementation\Component\Modal\Lightbox\$pages
$pages
Definition:
Lightbox.php:17
ILIAS\UI\Implementation\Component\Modal\Lightbox\__construct
__construct($pages, SignalGeneratorInterface $signal_generator)
Definition:
Lightbox.php:24
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:9
ILIAS\UI\Implementation\Component\Modal\Modal\$signal_generator
$signal_generator
Definition:
Modal.php:25
ILIAS\UI\Implementation\Component\Modal\Lightbox\getPages
getPages()
Get the lightbox pages of this modal.LightboxPage[]
Definition:
Lightbox.php:36
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\UI\Implementation\Component\toArray
toArray($value)
Wrap the given value in an array if it is no array.
Definition:
ComponentHelper.php:243
SignalGeneratorInterface
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:217
ILIAS\UI\Implementation\Component\Modal\Lightbox
Definition:
Lightbox.php:11
src
UI
Implementation
Component
Modal
Lightbox.php
Generated on Wed Apr 9 2025 20:01:39 for ILIAS by
1.8.13 (using
Doxyfile
)