Class to implement the Assignment and Grade services. More...
Public Member Functions | |
| __construct ($platform, $endpoint, $path='') | |
| Class constructor. | |
Public Member Functions inherited from Service | |
| __construct ($platform, $endpoint) | |
| Class constructor. | |
| ToolConsumer | getConsumer () |
| Get tool consumer. | |
| Platform | getPlatform () |
| Get platform. | |
| string | getScope () |
| Get access scope. | |
| HttpMessage | send ($method, $parameters=array(), $body=null) |
| Send a service request. | |
| HttpMessage | getHttpMessage () |
| Get HttpMessage object for last request. | |
Additional Inherited Members | |
Public Attributes inherited from Service | |
| bool | $unsigned = false |
| Whether service request should be sent unsigned. | |
Protected Member Functions inherited from Service | |
| array | parseContextsInArray ($contexts, $arr) |
| Parse the JSON for context references. | |
Protected Attributes inherited from Service | |
| string | $endpoint = null |
| Service endpoint. | |
| string | $scope = null |
| Service access scope. | |
| string | $mediaType = null |
| Media type of message body. | |
Class to implement the Assignment and Grade services.
| __construct | ( | $platform, | |
| $endpoint, | |||
$path = '' |
|||
| ) |
Class constructor.
| Platform | $platform | Platform object for this service request |
| string | $endpoint | Service endpoint |
| string | $path | Path (optional) |
References Service\$endpoint.