Class to represent a content-item placement object. More...
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. | |
Class to represent a content-item placement object.
Definition at line 17 of file ContentItemPlacement.php.
| __construct | ( | $displayWidth, | |
| $displayHeight, | |||
| $documentTarget, | |||
| $windowTarget | |||
| ) |
Class constructor.
| int | $displayWidth | Width of item location |
| int | $displayHeight | Height of item location |
| string | $documentTarget | Location to open content in |
| string | $windowTarget | Name of window target |
Definition at line 28 of file ContentItemPlacement.php.
References Placement\$documentTarget, and Util\logDebug().