module:core_grades/bulkactions/edit/tree/bulk_actions

module:core_grades/bulkactions/edit/tree/bulk_actions

new (require("core_grades/bulkactions/edit/tree/bulk_actions"))(courseID) → {void}

Description:
  • The class constructor.

Source:
Parameters:
Name Type Description
courseID int

The course ID.

Returns:
Type
void

Members

courseID

Source:
Properties:
Name Type Description
courseID int | null

The course ID.

Methods

(inner) deselectItem(selectedItem) → {void}

Description:
  • Defines the action for deselecting a selected item.

Source:
Parameters:
Name Type Description
selectedItem HTMLElement

The selected element.

Returns:
Type
void

(inner) getBulkActions() → {Array}

Description:
  • Returns the array of the relevant bulk action objects for the gradebook setup page.

Source:
Returns:
Type
Array

(inner) getSelectedItems() → {Array}

Description:
  • Returns the array of selected items.

Source:
Returns:
Type
Array

(inner) registerItemSelectChangeEvent(eventHandler) → {void}

Description:
  • Adds the listener for the item select change event.

Source:
Parameters:
Name Type Description
eventHandler function

The event handler function.

Returns:
Type
void