ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Image.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4 
6 
14 {
18  const STANDARD = "standard";
19  const RESPONSIVE = "responsive";
20 
26  public function withSource($source);
27 
32  public function getSource();
33 
38  public function getType();
39 
45  public function withAlt($alt);
46 
47 
52  public function getAlt();
53 
59  public function withAction($url);
60 
65  public function getAction();
66 }
const STANDARD
Types of images.
Definition: Image.php:18
withAlt($alt)
Set the alternative text for screen readers.
withAction($url)
Get an image like this with an action.
getType()
Get the type of the image.
A component is the most general form of an entity in the UI.
Definition: Component.php:13
getAlt()
Get the alternative text for screen readers.
getAction()
Get the action of the image.
withSource($source)
Set the source (path) of the image.
$url
$source
Definition: linkback.php:22
getSource()
Get the source (path) of the image.