ILIAS
trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
|
Class LightboxImagePage. More...
Public Member Functions | |
__construct (Image $image, string $title, string $description='') | |
getTitle () | |
Get the title of this page, displayed as title in the lightbox modal. More... | |
getDescription () | |
Get the description of this page, displayed along with the media item. More... | |
getComponent () | |
Get the component representing the media item to be displayed in the modals content section, e.g.an image. More... | |
Protected Attributes | |
Image | $image |
string | $title |
string | $description |
Class LightboxImagePage.
Used to display an image in a lightbox page inside a lightbox modal. If no description is provided, the alt tag of the image is substituted.
Definition at line 36 of file LightboxImagePage.php.
ILIAS\UI\Implementation\Component\Modal\LightboxImagePage::__construct | ( | Image | $image, |
string | $title, | ||
string | $description = '' |
||
) |
Definition at line 44 of file LightboxImagePage.php.
References ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\$description, ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\$image, and ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\$title.
ILIAS\UI\Implementation\Component\Modal\LightboxImagePage::getComponent | ( | ) |
Get the component representing the media item to be displayed in the modals content section, e.g.an image.
Implements ILIAS\UI\Component\Modal\LightboxPage.
Definition at line 70 of file LightboxImagePage.php.
References ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\$image.
ILIAS\UI\Implementation\Component\Modal\LightboxImagePage::getDescription | ( | ) |
Get the description of this page, displayed along with the media item.
Implements ILIAS\UI\Component\Modal\LightboxDescriptionEnabledPage.
Definition at line 62 of file LightboxImagePage.php.
ILIAS\UI\Implementation\Component\Modal\LightboxImagePage::getTitle | ( | ) |
Get the title of this page, displayed as title in the lightbox modal.
Implements ILIAS\UI\Component\Modal\LightboxPage.
Definition at line 54 of file LightboxImagePage.php.
References ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\$title.
|
protected |
Definition at line 42 of file LightboxImagePage.php.
Referenced by ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\__construct().
|
protected |
Definition at line 40 of file LightboxImagePage.php.
Referenced by ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\__construct(), and ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\getComponent().
|
protected |
Definition at line 41 of file LightboxImagePage.php.
Referenced by ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\__construct(), and ILIAS\UI\Implementation\Component\Modal\LightboxImagePage\getTitle().