19 declare(strict_types=1);
56 $this->
id =
'gradebookservice';
57 $this->name =
'ilLTIConsumerGradeService';
84 $scopes[] = self::SCOPE_GRADESERVICE_LINEITEM;
85 $scopes[] = self::SCOPE_GRADESERVICE_LINEITEM_READ;
86 $scopes[] = self::SCOPE_GRADESERVICE_RESULT_READ;
87 $scopes[] = self::SCOPE_GRADESERVICE_SCORE;
97 self::SCOPE_GRADESERVICE_LINEITEM_READ,
98 self::SCOPE_GRADESERVICE_RESULT_READ,
99 self::SCOPE_GRADESERVICE_SCORE,
100 self::SCOPE_GRADESERVICE_LINEITEM
const SCOPE_GRADESERVICE_LINEITEM_READ
Scope for full access to Lineitem service.
getResources()
Get the resources for this service.
getScopes()
Get the scopes defined by this service.
const GRADESERVICE_READ
Read-only access to Gradebook services.
__construct()
Class constructor.
const SCOPE_GRADESERVICE_SCORE
Scope for access to Score service.
const SCOPE_GRADESERVICE_LINEITEM
Scope for full access to Lineitem service.
const SCOPE_GRADESERVICE_RESULT_READ
Scope for access to Result service.
__construct(Container $dic, ilPlugin $plugin)
getPermittedScopes()
Get the scope(s) permitted for this service.
array $resources
Instances of the resources associated with this service.
const GRADESERVICE_FULL
Full access to Gradebook services.