Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
qbank_exporttoxml\helper Class Reference

Static Public Member Functions

static question_get_export_single_question_url ($question)
 Get the URL to export a single question (exportone.php).
 

Member Function Documentation

◆ question_get_export_single_question_url()

static qbank_exporttoxml\helper::question_get_export_single_question_url ( $question)
static

Get the URL to export a single question (exportone.php).

Parameters
stdClass | question_definition$questionthe question definition as obtained from question_bank::load_question_data() or question_bank::make_question(). (Only ->id and ->contextid are used.)
Return values
moodle_urlthe requested URL.

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