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

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

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

Public Member Functions

 __construct ($displayWidth, $displayHeight, $documentTarget, $windowTarget)
 Class constructor. More...
 

Detailed Description

Class to represent a content-item placement 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 ContentItemPlacement.php.

Constructor & Destructor Documentation

◆ __construct()

IMSGlobal\LTI\ToolProvider\ContentItemPlacement::__construct (   $displayWidth,
  $displayHeight,
  $documentTarget,
  $windowTarget 
)

Class constructor.

Parameters
int$displayWidthWidth of item location
int$displayHeightHeight of item location
string$documentTargetLocation to open content in
string$windowTargetName of window target

Definition at line 25 of file ContentItemPlacement.php.

26  {
27 
28  if (!empty($displayWidth)) {
29  $this->displayWidth = $displayWidth;
30  }
31  if (!empty($displayHeight)) {
32  $this->displayHeight = $displayHeight;
33  }
34  if (!empty($documentTarget)) {
35  $this->documentTarget = $documentTarget;
36  }
37  if (!empty($windowTarget)) {
38  $this->windowTarget = $windowTarget;
39  }
40 
41  }

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