LTI Integration Library  3.1.0
PHP class library for building LTI integrations
ContentItemPlacement.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI;
4 
14 {
15 
24  function __construct($displayWidth, $displayHeight, $documentTarget, $windowTarget)
25  {
26  if (!empty($displayWidth)) {
27  $this->displayWidth = $displayWidth;
28  }
29  if (!empty($displayHeight)) {
30  $this->displayHeight = $displayHeight;
31  }
32  if (!empty($documentTarget)) {
33  $this->documentTarget = $documentTarget;
34  }
35  if (!empty($windowTarget)) {
36  $this->windowTarget = $windowTarget;
37  }
38  }
39 
40 }
Class to represent a content-item placement object.
__construct($displayWidth, $displayHeight, $documentTarget, $windowTarget)
Class constructor.