static toJson($items)
Wrap the content items to form a complete application/vnd.ims.lti.v1.contentitems+json media type ins...
setTitle($title)
Set a title value for the content-item.
__construct($type, $placementAdvice=null, $id=null)
Class constructor.
setUrl($url)
Set a URL value for the content-item.
setText($text)
Set a link text value for the content-item.
const LTI_LINK_MEDIA_TYPE
Media type for LTI launch links.
setMediaType($mediaType)
Set a media type value for the content-item.
Class to represent a content-item object.