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

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

Inheritance diagram for ContentItemPlacement:
Placement

Public Member Functions

 __construct ($displayWidth, $displayHeight, $documentTarget, $windowTarget)
 Class constructor.
 
- Public Member Functions inherited from Placement
 __construct ($documentTarget, $displayWidth=null, $displayHeight=null, $windowTarget=null, $windowFeatures=null, $url=null, $html=null)
 Class constructor.
 
 toJsonldObject ()
 Generate the JSON-LD object representation of the placement.
 
 toJsonObject ()
 Generate the JSON object representation of the placement.
 

Additional Inherited Members

- Static Public Member Functions inherited from Placement
static fromJsonObject ($item, $documentTarget=null)
 Generate the Placement object from an item.
 
- Data Fields inherited from Placement
const TYPE_EMBED = 'embed'
 Embed placement type.
 
const TYPE_IFRAME = 'iframe'
 iFrame placement type.
 
const TYPE_FRAME = 'frame'
 Frame placement type.
 
const TYPE_WINDOW = 'window'
 Window placement type.
 
const TYPE_POPUP = 'popup'
 Popup placement type.
 
const TYPE_OVERLAY = 'overlay'
 Overlay placement type.
 
 $documentTarget = null
 Location to open content in.
 

Detailed Description

Class to represent a content-item placement object.

Deprecated:
Use Content::Placement instead
See also
Content::Placement
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 ContentItemPlacement.php.

Constructor & Destructor Documentation

◆ __construct()

__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 28 of file ContentItemPlacement.php.

References Placement\$documentTarget, and Util\logDebug().


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