Skip to main content

Function: moduleCategories()

function moduleCategories(module): readonly (
| "none"
| "own"
| "course-content"
| "others-aggregate"
| "others-personal"
| "others-write"
| "communication"
| "any")[];

Defined in: categories.ts:319

The data a teacher reads when reading an activity of module with everything in it: course content alone for what teachers make (pages, books, files…), also others' personal data where participants leave work or responses. An unknown module (a plugin) could hold anything: any.

Parameters​

ParameterType
modulestring

Returns​

readonly ( | "none" | "own" | "course-content" | "others-aggregate" | "others-personal" | "others-write" | "communication" | "any")[]