Closed gkreitz closed 6 months ago
When returning a line item as a deep link resource, a tool can set resourceId and tag according to https://www.imsglobal.org/spec/lti-dl/v2p0#lti-resource-link . However, in Resource::getArray(), only scoreMaximum and label of a line item will be included, https://github.com/packbackbooks/lti-1-3-php-library/blob/master/src/DeepLinkResources/Resource.php#L51 . It would make sense to me if resourceId and tag were also populated for line item deep links.
resourceId
tag
Resource::getArray()
scoreMaximum
label
When returning a line item as a deep link resource, a tool can set
resourceId
andtag
according to https://www.imsglobal.org/spec/lti-dl/v2p0#lti-resource-link . However, inResource::getArray()
, onlyscoreMaximum
andlabel
of a line item will be included, https://github.com/packbackbooks/lti-1-3-php-library/blob/master/src/DeepLinkResources/Resource.php#L51 . It would make sense to me ifresourceId
andtag
were also populated for line item deep links.