ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (ilLTIConsumerServiceBase $service) | |
execute (ilLTIConsumerServiceResponse $response) | |
Execute the request for this resource. More... | |
![]() | |
__construct (ilLTIConsumerServiceBase $service) | |
Class constructor. More... | |
getTemplate () | |
Get the resource template. More... | |
getFormats () | |
Get the resource media types. More... | |
getMethods () | |
Get the resource methods. More... | |
getService () | |
Get the resource's service. More... | |
checkTool (array $scopes=array()) | |
Check to make sure the request is valid. More... | |
Static Public Member Functions | |
static | validate_iso8601_date (string $date) |
Protected Member Functions | |
checkScore (string $requestData, int $objId) | |
![]() | |
parseTemplate () | |
Parse the template for variables. More... | |
Additional Inherited Members | |
![]() | |
const | HTTP_POST = 'POST' |
HTTP Post method. More... | |
const | HTTP_GET = 'GET' |
HTTP Get method. More... | |
const | HTTP_PUT = 'PUT' |
HTTP Put method. More... | |
const | HTTP_DELETE = 'DELETE' |
HTTP Delete method. More... | |
![]() | |
string | $type |
Type for this resource. More... | |
string | $id |
ID for this resource. More... | |
string | $template |
Template for this resource. More... | |
array | $variables |
Custom parameter substitution variables associated with this resource. More... | |
array | $formats |
Media types supported by this resource. More... | |
array | $methods |
HTTP actions supported by this resource. More... | |
array | $params |
Template variables parsed from the resource template. More... | |
Definition at line 29 of file class.ilLTIConsumerGradeServiceScores.php.
ilLTIConsumerGradeServiceScores::__construct | ( | ilLTIConsumerServiceBase | $service | ) |
Definition at line 31 of file class.ilLTIConsumerGradeServiceScores.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 81 of file class.ilLTIConsumerGradeServiceScores.php.
References $DIC, ilLTIConsumerResult\getByKeys(), ilObjLTIConsumer\getLogger(), ilCmiXapiUser\getUsrIdForObjectAndUsrIdent(), ILIAS\Repository\int(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, null, and ilLPStatus\writeStatus().
Referenced by execute().
ilLTIConsumerGradeServiceScores::execute | ( | ilLTIConsumerServiceResponse | $response | ) |
Execute the request for this resource.
Definition at line 45 of file class.ilLTIConsumerGradeServiceScores.php.
References Vendor\Package\$e, ilLTIConsumerResourceBase\$params, $scope, $token, checkScore(), ilLTIConsumerResourceBase\checkTool(), ilObjLTIConsumer\getLogger(), ilLTIConsumerServiceResponse\getRequestData(), ILIAS\Repository\int(), ilLTIConsumerResourceBase\parseTemplate(), ilLTIConsumerGradeService\SCOPE_GRADESERVICE_SCORE, ilLTIConsumerServiceResponse\setCode(), and ilLTIConsumerServiceResponse\setReason().
|
static |
Definition at line 184 of file class.ilLTIConsumerGradeServiceScores.php.