ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilLTIConsumerGradeServiceLineItems.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
31{
33 {
35 $this->id = 'LineItem.collection';
36 $this->template = '/{context_id}/lineitems';
37 $this->variables[] = 'LineItems.url';
38 $this->formats[] = 'application/vnd.ims.lis.v2.lineitemcontainer+json';
39 $this->formats[] = 'application/vnd.ims.lis.v2.lineitem+json';
40 $this->methods[] = self::HTTP_GET;
41 $this->methods[] = self::HTTP_POST;
42 }
43}
__construct(ilLTIConsumerServiceBase $service)
Class constructor.
ilLTIConsumerServiceBase $service
Service associated with this resource.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc