ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
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 Mon Sep 1 2025 23:04:18 for ILIAS by
1.8.13 (using
Doxyfile
)