Skip to main content

Function: activitiesOverview()

function activitiesOverview(
context,
siteUrl,
courseId,
type?
): Promise<object[]>;

Defined in: areas/courses/overview.ts:73

Moodle 5's activities overview of a course for one type ("resource" for every resource type): per activity, the columns its overview page shows the person (due dates, submissions, what needs grading, their own grade…). Without a type, every type in the course's state: "resource" first, which brings pages, books, files, folders and links at once, then each type still missing.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
courseIdnumber
type?string

Returns​

Promise<object[]>