Hierarchy

  • ParamsCoursesItem

Properties

categoryid: null | number

category id

completionnotify: null | number

1: yes 0: no

additional options for particular course format

custom fields for the course

defaultgroupingid?: null | number

default grouping id

enablecompletion: null | number

Enabled, control via completion and activity settings. Disabled, not shown in activity settings.

enddate: null | number

timestamp when the course end

forcetheme: null | string

name of the force theme

format?: null | string

course format: weeks, topics, social, site,..

fullname: null | string

full name

groupmode?: null | number

no group, separate, visible

groupmodeforce?: null | number

1: yes, 0: no

hiddensections: null | number

(deprecated, use courseformatoptions) How the hidden sections in the course are displayed to students

idnumber: null | string

id number

lang: null | string

forced course language

maxbytes?: null | number

largest size of file that can be uploaded into the course

newsitems?: null | number

number of recent items appearing on the course page

numsections: null | number

(deprecated, use courseformatoptions) number of weeks/topics

shortname: null | string

course short name

showgrades?: null | number

1 if grades are shown, otherwise 0

showreports?: null | number

are activity report shown (yes = 1, no =0)

startdate: null | number

timestamp when the course start

summary: null | string

summary

summaryformat?: null | number

summary format (1 = HTML, 0 = MOODLE, 2 = PLAIN, or 4 = MARKDOWN

visible: null | number

1: available to student, 0:not available

Generated using TypeDoc