Class to implement the Assessment Control service.
More...
|
const | MEDIA_TYPE_ASSESSMENT_CONTROL = 'application/vnd.ims.lti-ap.v1.control+json' |
| Media type for the Assessment Control service.
|
|
bool | $unsigned = false |
| Whether service request should be sent unsigned.
|
|
|
static string | $SCOPE = 'https://purl.imsglobal.org/spec/lti-ap/scope/control.all' |
| Access scope.
|
|
|
array | parseContextsInArray (object|array $contexts, array $arr) |
| Parse the JSON for context references.
|
|
string | $endpoint = null |
| Service endpoint.
|
|
string | $scope = null |
| Service access scope.
|
|
string | $mediaType = null |
| Media type of message body.
|
|
Class to implement the Assessment Control service.
- Author
- Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
- Copyright
- SPV Software Products
- Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3
◆ __construct()
__construct |
( |
ResourceLink | $resourceLink, |
|
|
string | $endpoint ) |
Class constructor.
- Parameters
-
ResourceLink | $resourceLink | Resource link object for this service request |
string | $endpoint | Service endpoint |
◆ submitAction()
Submit an assessment control action.
- Parameters
-
AssessmentControlAction | $assessmentControlAction | AssessmentControlAction object |
User | $user | User object |
int | $attemptNumber | Attempt number |
- Returns
- string|bool Value of the status response, or false if not successful