ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
LightboxCardPage.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
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 }
getTitle()
Get the title of this page, displayed as title in the lightbox modal.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getComponent()
Get the component representing the media item to be displayed in the modals content section...