Hierarchy

  • ParamsCategoriesItem

Properties

description: null | string

the new category description

descriptionformat?: null | number

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

idnumber: null | string

the new category idnumber

name: null | string

new category name

parent?: null | number

the parent category id inside which the new category will be created - set to 0 for a root category

theme: null | string

the new category theme. This option must be enabled on moodle

Generated using TypeDoc