Saltar al contenido principal

Function: rubric()

function rubric(
context,
siteUrl,
activityId
): Promise<object & GradingDefinition>;

Defined in: areas/assignments/grading.ts:334

An assignment's grading method and, for a rubric or a marking guide, its criteria with the ids gradeSubmission takes: read from the grader's panel for the first participant with a submission. Where nobody has one yet, the panel is the first participant's, and Moodle creates an empty submission ("new") for them on opening it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber

Returns​

Promise<object & GradingDefinition>