Tsugi

DeepLinkRequest
in package

This is a general purpose DeepLinkRequest class

https://www.imsglobal.org/spec/lti-dl/v2p0

Table of Contents

Properties

$claim  : mixed

Methods

__construct()  : mixed
acceptType()  : mixed
acceptType - Returns true if the string is in the accept_types
allowContentItem()  : mixed
allowContentItem - Returns true if we can return HTML Items
allowImportItem()  : mixed
allowImportItem - Returns true if we can return IMS Common Cartridges
allowLink()  : mixed
allowLink - Returns true if we can return HTML Items
allowLtiLinkItem()  : mixed
allowLtiLinkItem - Returns true if we can return LTI Link Items "accept_types": ["link", "file", "html", "ltiResourceLink", "image"],
allowMimetype()  : mixed
allowMimetype - Returns true if we can return LTI Link Items
allowMultiple()  : mixed
allowMultiple - Returns true if we can return multiple items
getClaim()  : mixed
getClaim - get a extension claim
returnUrl()  : string
returnUrl - Returns the deep_link_return_url

Properties

Methods

__construct()

public __construct(mixed $claim) : mixed
Parameters
$claim : mixed

acceptType()

acceptType - Returns true if the string is in the accept_types

public acceptType(mixed $type) : mixed

"accept_types": ["link", "file", "html", "ltiResourceLink", "image"],

Parameters
$type : mixed

allowContentItem()

allowContentItem - Returns true if we can return HTML Items

public allowContentItem() : mixed

allowImportItem()

allowImportItem - Returns true if we can return IMS Common Cartridges

public allowImportItem() : mixed

allowLink - Returns true if we can return HTML Items

public allowLink() : mixed

allowLtiLinkItem()

allowLtiLinkItem - Returns true if we can return LTI Link Items "accept_types": ["link", "file", "html", "ltiResourceLink", "image"],

public allowLtiLinkItem() : mixed

allowMimetype()

allowMimetype - Returns true if we can return LTI Link Items

public allowMimetype(mixed $Mimetype) : mixed
Parameters
$Mimetype : mixed

allowMultiple()

allowMultiple - Returns true if we can return multiple items

public allowMultiple() : mixed

getClaim()

getClaim - get a extension claim

public getClaim(mixed $string[, mixed $default = null ]) : mixed
Parameters
$string : mixed
$default : mixed = null
Tags
retval

null if the claim is not present.

returnUrl()

returnUrl - Returns the deep_link_return_url

public returnUrl() : string
Return values
string —

The deep_link_return_url or false


        
On this page

Search results