Class to implement the Assessment Control service. More...
Public Member Functions | |
| __construct ($resourceLink, $endpoint) | |
| Class constructor. | |
| submitAction ($assessmentControlAction, $user, $attemptNumber) | |
| Submit an assessment control action. | |
Public Member Functions inherited from Service | |
| __construct ($platform, $endpoint) | |
| Class constructor. | |
| getConsumer () | |
| Get tool consumer. | |
| getPlatform () | |
| Get platform. | |
| getScope () | |
| Get access scope. | |
| send ($method, $parameters=array(), $body=null) | |
| Send a service request. | |
| getHttpMessage () | |
| Get HttpMessage object for last request. | |
Static Public Attributes | |
| static | $SCOPE = 'https://purl.imsglobal.org/spec/lti-ap/scope/control.all' |
| Access scope. | |
Additional Inherited Members | |
Data Fields inherited from Service | |
| $unsigned = false | |
| Whether service request should be sent unsigned. | |
Protected Member Functions inherited from Service | |
| parseContextsInArray ($contexts, $arr) | |
| Parse the JSON for context references. | |
Protected Attributes inherited from Service | |
| $endpoint = null | |
| Service endpoint. | |
| $scope = null | |
| Service access scope. | |
| $mediaType = null | |
| Media type of message body. | |
Class to implement the Assessment Control service.
Definition at line 16 of file AssessmentControl.php.
| __construct | ( | $resourceLink, | |
| $endpoint | |||
| ) |
Class constructor.
| ResourceLink | $resourceLink | Resource link object for this service request |
| string | $endpoint | Service endpoint |
Reimplemented from Service.
Definition at line 39 of file AssessmentControl.php.
References Service\$endpoint, and AssessmentControl\$SCOPE.
| submitAction | ( | $assessmentControlAction, | |
| $user, | |||
| $attemptNumber | |||
| ) |
Submit an assessment control action.
| AssessmentControlAction | $assessmentControlAction | AssessmentControlAction object |
| User | $user | User object |
| int | $attemptNumber | Attempt number |
Definition at line 56 of file AssessmentControl.php.
References Service\send().
|
static |
Access scope.
Definition at line 24 of file AssessmentControl.php.
Referenced by AssessmentControl\__construct().