Function: workshopInfo()
function workshopInfo(
context,
siteUrl,
activityId
): Promise<WorkshopInfo>;
Defined in: areas/workshops/workshops.ts:229
A workshop's phase, and its report as the workshop's page shows it to a teacher: every submission
(its author, title, and grade once calculated) and every assessment (reviewer, the submission's
author, the grade it gives, its weight, the grade for assessing once calculated), all of its pages.
The report is Moodle's own: it shows from the submission phase on to those who can see every
submission, in the course's current group; for anyone else the lists are empty. Grades are out of
the workshop's grade for submission, as Moodle shows them. Throws WorkshopError for an activity
that isn't a workshop the person can view.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
Returns
Promise<WorkshopInfo>