Class to represent a content-item image object. More...
Public Member Functions | |
| __construct ($id, $height=null, $width=null) | |
| Class constructor. | |
Public Member Functions inherited from Image | |
| __construct ($url, $width=null, $height=null) | |
| Class constructor. | |
| object | toJsonldObject () |
| Generate the JSON-LD object representation of the image. | |
| object | toJsonObject () |
| Generate the JSON object representation of the image. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Image | |
| static Image null | fromJsonObject ($item) |
| Generate an Image object from its JSON or JSON-LD representation. | |
Class to represent a content-item image object.
| __construct | ( | $id, | |
$height = null, |
|||
$width = null |
|||
| ) |
Class constructor.
| string | $id | URL of image |
| int | $height | Height of image in pixels (optional) |
| int | $width | Width of image in pixels (optional) |
Reimplemented from Image.
References Util\logDebug().