Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
qbank_editquestion\external\update_question_version_status Class Reference

Update question status external api. More...

Inheritance diagram for qbank_editquestion\external\update_question_version_status:

Static Public Member Functions

static execute ($questionid, $status)
 Handles the status form submission.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Returns description of method result value.
 

Detailed Description

Update question status external api.

Author
Safat Shahin safat.nosp@m.shah.nosp@m.in@ca.nosp@m.taly.nosp@m.st-au.nosp@m..net
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ execute()

static qbank_editquestion\external\update_question_version_status::execute ( $questionid,
$status )
static

Handles the status form submission.

Parameters
int$questionidThe question id.
string$statusThe updated question status.
Return values
arrayThe created or modified question tag

◆ execute_parameters()

static qbank_editquestion\external\update_question_version_status::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters.

The documentation for this class was generated from the following file: