ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
LightboxTextPage.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Modal
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use
ILIAS\UI\Component\Modal\LightboxPage
;
25
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
26
use
ILIAS\UI\Implementation\Component\Legacy\Content
;
27
use
ILIAS\UI\Implementation\Component\SignalGenerator
;
28
use
ILIAS\UI\Component\Modal\LightboxTextPage
as
ILightboxTextPage
;
29
35
class
LightboxTextPage
implements
LightboxPage
,
ILightboxTextPage
36
{
37
use
ComponentHelper
;
38
39
protected
string
$text
;
40
protected
string
$title
;
41
42
public
function
__construct
(
string
$text,
string
$title)
43
{
44
$this->text =
$text
;
45
$this->title =
$title
;
46
}
47
51
public
function
getTitle
(): string
52
{
53
return
$this->title
;
54
}
55
59
public
function
getComponent
():
C
\Legacy\
Content
60
{
61
return
new
Content
($this->text,
new
SignalGenerator
());
62
}
63
}
ILIAS\UI\Implementation\Component\Modal
Definition:
Factory.php:21
SignalGenerator
ILIAS\UI\Component
LightboxTextPage
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage\getTitle
getTitle()
Get the title of this page, displayed as title in the lightbox modal.
Definition:
LightboxTextPage.php:51
LightboxPage
Content
ILIAS\UI\Implementation\Component\Legacy\Content
Definition:
Content.php:34
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage\__construct
__construct(string $text, string $title)
Definition:
LightboxTextPage.php:42
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage\$text
string $text
Definition:
LightboxTextPage.php:39
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage
Definition:
LightboxTextPage.php:35
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage\$title
string $title
Definition:
LightboxTextPage.php:40
ILIAS\UI\Implementation\Component\SignalGenerator
Definition:
SignalGenerator.php:29
ILIAS\UI\Implementation\Component\Modal\LightboxTextPage\getComponent
getComponent()
Get the component representing the media item to be displayed in the modals content section...
Definition:
LightboxTextPage.php:59
ComponentHelper
ILIAS\UI\Component\Modal\LightboxPage
Interface LightboxPage.
Definition:
LightboxPage.php:30
ComponentHelper
components
ILIAS
UI
src
Implementation
Component
Modal
LightboxTextPage.php
Generated on Fri Apr 11 2025 23:04:21 for ILIAS by
1.8.13 (using
Doxyfile
)