LTI Integration Library  3.1.0
PHP class library for building LTI integrations
ContentItemImage.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI;
4 
14 {
15 
23  function __construct($id, $height = null, $width = null)
24  {
25  $this->{'@id'} = $id;
26  if (!is_null($height)) {
27  $this->height = $height;
28  }
29  if (!is_null($width)) {
30  $this->width = $width;
31  }
32  }
33 
34 }
Class to represent a content-item image object.
__construct($id, $height=null, $width=null)
Class constructor.