qbank_editquestion/question_status

Description:
  • Status column selector js.

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

Status column selector js.

Methods

(inner) init(questionId)

Description:
  • Entrypoint of the js.

Source:
Parameters:
Name Type Description
questionId Number

Question id.

(inner) setQuestionStatus(questionId, status) → {Array}

Description:
  • Set the question status.

Source:
Parameters:
Name Type Description
questionId Number

The question id.

status String

The updated question status.

Returns:

The modified question status

Type
Array