mod_lti/coursecategory

Description:
  • Select course categories for LTI tool.

Source:
Since:
  • 4.3
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Select course categories for LTI tool.

Methods

(static) init(selectedcategories)

Description:
  • Initialise this module. Loop through checkbox form elements starting with #cat-{N} and set it to checked if {N} is found in the Selected category(s) list. Show / Hide the parent UL element.

Source:
Parameters:
Name Type Description
selectedcategories string

Selected category(s).