ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
LightboxTextPage.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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\Legacy
;
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
\
Legacy
60
{
61
return
new
Legacy
($this->text,
new
SignalGenerator
());
62
}
63
}
ILIAS\UI\Implementation\Component\Modal
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Factory.php:21
SignalGenerator
ILIAS\UI\Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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
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
Legacy
ILIAS\UI\Implementation\Component\Legacy\Legacy
Definition:
Legacy.php:34
ComponentHelper
ILIAS\UI\Component\Modal\LightboxPage
Interface LightboxPage.
Definition:
LightboxPage.php:30
ComponentHelper
components
ILIAS
UI
src
Implementation
Component
Modal
LightboxTextPage.php
Generated on Wed Sep 10 2025 15:16:43 for ILIAS by
1.8.13 (using
Doxyfile
)