core_question/repository

Description:
  • A javascript module to handle question ajax actions.

Source:
Deprecated:
  • since Moodle 4.0
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
To Do:
  • Final deprecation on Moodle 4.4 MDL-72438

A javascript module to handle question ajax actions.

Methods

(inner) submitTagCreateUpdateForm(questionId, contextId, formdata) → {promise}

Description:
  • Submit the form data for the question tags form.

Source:
Parameters:
Name Type Description
questionId number
contextId number
formdata string

The URL encoded values from the form

Returns:
Type
promise