LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ContentItemImage Class Reference

Class to represent a content-item image object. More...

Inheritance diagram for ContentItemImage:
Image

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.
 
 toJsonldObject ()
 Generate the JSON-LD object representation of the image.
 
 toJsonObject ()
 Generate the JSON object representation of the image.
 

Additional Inherited Members

- Static Public Member Functions inherited from Image
static fromJsonObject ($item)
 Generate an Image object from its JSON or JSON-LD representation.
 

Detailed Description

Class to represent a content-item image object.

Deprecated:
Use Content::Image instead
See also
Content::Image
Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Definition at line 17 of file ContentItemImage.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $id,
  $height = null,
  $width = null 
)

Class constructor.

Parameters
string$idURL of image
int$heightHeight of image in pixels (optional)
int$widthWidth of image in pixels (optional)

Reimplemented from Image.

Definition at line 27 of file ContentItemImage.php.

References Util\logDebug().


The documentation for this class was generated from the following file: