|
static | execute (int $newcontextid, int $newcategoryid, string $questionids, string $returnurlstring='') |
| Move questions to a new question category.
|
|
static | execute_parameters () |
| Declare the method parameters.
|
|
static | execute_returns () |
| Define the webservice response.
|
|
◆ execute()
static core_question\external\move_questions::execute |
( |
int | $newcontextid, |
|
|
int | $newcategoryid, |
|
|
string | $questionids, |
|
|
string | $returnurlstring = '' ) |
|
static |
Move questions to a new question category.
Optionally provide a url to add/update it with the filter param containing the new category.
- Parameters
-
int | $newcontextid | of the target question bank |
int | $newcategoryid | of the target category |
string | $questionids | comma separated list of question ids to move |
string | $returnurlstring | optional, provide this to have the filter url param added/updated to reflect the new category |
- Return values
-
null|string | if $returnurlstring was provided then an updated url which filters to the new category |
◆ execute_parameters()
static core_question\external\move_questions::execute_parameters |
( |
| ) |
|
|
static |
Declare the method parameters.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static core_question\external\move_questions::execute_returns |
( |
| ) |
|
|
static |
Define the webservice response.
- Return values
-
The documentation for this class was generated from the following file:
- question/classes/external/move_questions.php