See Release Notes
Long Term Support Release
(no description)
File Size: | 92 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
helper:: (3 methods):
bulk_move_questions()
get_displaydata()
process_question_ids()
bulk_move_questions(string $movequestionselected, \stdClass $tocategory) X-Ref |
Bulk move questions to a category. param: string $movequestionselected comma separated string of questions to be moved. param: \stdClass $tocategory the category where the questions will be moved to. |
get_displaydata(array $addcontexts, \moodle_url $moveurl, \moodle_url $returnurl) X-Ref |
Get the display data for the move form. param: array $addcontexts the array of contexts to be considered in order to render the category select menu. param: \moodle_url $moveurl the url where the move script will point to. param: \moodle_url $returnurl return url in case the form is cancelled. return: array the data to be rendered in the mustache where it contains the dropdown, move url and return url. |
process_question_ids(array $rawquestions) X-Ref |
Process the question came from the form post. param: array $rawquestions raw questions came as a part of post. return: array question ids got from the post are processed and structured in an array. |