Saltar al contenido principal

Function: allocateMarker()

function allocateMarker(
context,
siteUrl,
activityId,
userIds,
markerId
): Promise<{
changed: string;
}>;

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

Allocates a marker (the user id of someone who can grade; several where the assignment uses several markers per submission) to participants' submissions, as the grading table's "Allocate marker" does. Moodle leaves alone submissions past marking (marking completed, in review, ready for release, released).

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber
userIdsnumber[]
markerIdnumber | number[]

Returns​

Promise<{ changed: string; }>