|
static | make_for_question (string $uniqueidentifier, int $currentlyselectedquestionid) |
| Set the selected question id for the currently selected question.
|
|
|
| __construct (string $uniqueidentifier, int $currentlyselectedquestionid) |
| Constructor.
|
|
◆ __construct()
core_question\output\question_version_selection::__construct |
( |
string | $uniqueidentifier, |
|
|
int | $currentlyselectedquestionid ) |
|
protected |
Constructor.
- Parameters
-
string | $uniqueidentifier | unique identifier for the api usage. |
int | $currentlyselectedquestionid | selected question id in dropdown. |
◆ export_for_template()
core_question\output\question_version_selection::export_for_template |
( |
renderer_base | $output | ) |
|
Export the data for version selection mustache.
- Parameters
-
- Return values
-
Implements templatable.
◆ make_for_question()
static core_question\output\question_version_selection::make_for_question |
( |
string | $uniqueidentifier, |
|
|
int | $currentlyselectedquestionid ) |
|
static |
Set the selected question id for the currently selected question.
- Parameters
-
string | $uniqueidentifier | unique identifier for the api usage. |
int | $currentlyselectedquestionid | selected question id in dropdown. |
- Return values
-
self | an instance of this UI widget for the given question. |
The documentation for this class was generated from the following file:
- question/classes/output/question_version_selection.php