ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
IMSGlobal\LTI\ToolProvider\ContentItemImage Class Reference

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

+ Collaboration diagram for IMSGlobal\LTI\ToolProvider\ContentItemImage:

Public Member Functions

 __construct ($id, $height=null, $width=null)
 Class constructor. More...
 

Detailed Description

Class to represent a content-item image object.

Author
Stephen P Vickers svick.nosp@m.ers@.nosp@m.imsgl.nosp@m.obal.nosp@m..org
Date
2016
Version
3.0.2 http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0

Definition at line 14 of file ContentItemImage.php.

Constructor & Destructor Documentation

◆ __construct()

IMSGlobal\LTI\ToolProvider\ContentItemImage::__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)

Definition at line 24 of file ContentItemImage.php.

References $id.

25  {
26 
27  $this->{'@id'} = $id;
28  if (!is_null($height)) {
29  $this->height = $height;
30  }
31  if (!is_null($width)) {
32  $this->width = $width;
33  }
34 
35  }
if(!array_key_exists('StateId', $_REQUEST)) $id

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