Definition at line 13 of file Image.php.
◆ getAlt()
ILIAS\UI\Component\Image\Image::getAlt |
( |
| ) |
|
Get the alternative text for screen readers.
- Returns
- string
◆ getSource()
ILIAS\UI\Component\Image\Image::getSource |
( |
| ) |
|
Get the source (path) of the image.
- Returns
- string
◆ getType()
ILIAS\UI\Component\Image\Image::getType |
( |
| ) |
|
Get the type of the image.
- Returns
- string
◆ withAlt()
ILIAS\UI\Component\Image\Image::withAlt |
( |
|
$alt | ) |
|
Set the alternative text for screen readers.
- Parameters
-
- Returns
◆ withSource()
ILIAS\UI\Component\Image\Image::withSource |
( |
|
$source | ) |
|
Set the source (path) of the image.
The complete path to the image has to be provided.
- Parameters
-
- Returns
◆ RESPONSIVE
const ILIAS\UI\Component\Image\Image::RESPONSIVE = "responsive" |
◆ STANDARD
const ILIAS\UI\Component\Image\Image::STANDARD = "standard" |
Types of images.
Definition at line 17 of file Image.php.
The documentation for this interface was generated from the following file: