ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
LightboxCardPage.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\Modal\LightboxCardPage
as CardPage;
24
use
ILIAS\UI\Component\Card\Card
;
25
use
ILIAS\UI\Component\Component
;
26
27
class
LightboxCardPage
implements
CardPage
28
{
29
public
function
__construct
(
private
readonly
Card
$card)
30
{
31
}
32
33
public
function
getTitle
(): string
34
{
35
return
$this->card->getTitle();
36
}
37
38
public
function
getComponent
():
Component
39
{
40
return
$this->card;
41
}
42
}
ILIAS\UI\Implementation\Component\Modal\LightboxCardPage
Definition:
LightboxCardPage.php:28
ILIAS\UI\Implementation\Component\Modal\LightboxCardPage\getComponent
getComponent()
Get the component representing the media item to be displayed in the modals content section,...
Definition:
LightboxCardPage.php:38
ILIAS\UI\Implementation\Component\Modal\LightboxCardPage\getTitle
getTitle()
Get the title of this page, displayed as title in the lightbox modal.
Definition:
LightboxCardPage.php:33
ILIAS\UI\Implementation\Component\Modal\LightboxCardPage\__construct
__construct(private readonly Card $card)
Definition:
LightboxCardPage.php:29
ILIAS\UI\Component\Card\Card
Definition:
Card.php:35
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:28
ILIAS\UI\Component\Modal\LightboxCardPage
Definition:
LightboxCardPage.php:26
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Modal
Definition:
Factory.php:21
components
ILIAS
UI
src
Implementation
Component
Modal
LightboxCardPage.php
Generated on Sat Oct 18 2025 23:04:38 for ILIAS by
1.9.4 (using
Doxyfile
)