ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilLTIConsumerGradeServiceResults Class Reference
+ Inheritance diagram for ilLTIConsumerGradeServiceResults:
+ Collaboration diagram for ilLTIConsumerGradeServiceResults:

Public Member Functions

 __construct (ilLTIConsumerServiceBase $service)
 
- Public Member Functions inherited from ilLTIConsumerResourceBase
 __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...
 

Additional Inherited Members

- Data Fields inherited from ilLTIConsumerResourceBase
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...
 
- Protected Member Functions inherited from ilLTIConsumerResourceBase
 parseTemplate ()
 Parse the template for variables. More...
 
- Protected Attributes inherited from ilLTIConsumerResourceBase
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...
 

Detailed Description

Definition at line 30 of file class.ilLTIConsumerGradeServiceResults.php.

Constructor & Destructor Documentation

◆ __construct()

ilLTIConsumerGradeServiceResults::__construct ( ilLTIConsumerServiceBase  $service)

Definition at line 32 of file class.ilLTIConsumerGradeServiceResults.php.

References ILIAS\GlobalScreen\Provider\__construct().

33  {
34  parent::__construct($service);
35  $this->id = 'Result.collection';
36  $this->template = '/{context_id}/lineitems/{item_id}/lineitem/results';
37  $this->variables[] = 'Results.url';
38  $this->formats[] = 'application/vnd.ims.lis.v2.resultcontainer+json';
39  $this->methods[] = 'GET';
40  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: