mod_lti/coursecategory

Select course categories for LTI tool.

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

Methods

(static) init(selectedcategories)

Source:

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.

Parameters:
Name Type Description
selectedcategories string

Selected category(s).