Skip to main content

Interface: ExportGradesOptions

Defined in: areas/grades/export.ts:24

What exportGrades exports and where it saves it, as the export form chooses.

Properties​

PropertyTypeDescriptionDefined in
destDir?stringThe folder to save the file in (an absolute path); the Moodle object's downloadDir when left out there.areas/grades/export.ts:35
display?GradeExportDisplay[]How grades are written; the site's default when left out. XML takes only one.areas/grades/export.ts:31
feedback?booleanInclude each grade's feedback.areas/grades/export.ts:33
format"xml" | "ods" | "xlsx" | "csv"-areas/grades/export.ts:25
groupId?numberOnly this group's members (a group id from groups).areas/grades/export.ts:29
itemIds?number[]The grade items to export (ids from graderReport or gradebookSetup); all of them when left out.areas/grades/export.ts:27