Class for exporting a question from an stdClass.
More...
|
| __construct (\stdClass $question, $related=[]) |
| Constructor.
|
|
Class for exporting a question from an stdClass.
- Copyright
- 2018 Ryan Wyllie ryan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_question\external\question_icon_exporter::__construct |
( |
\stdClass | $question, |
|
|
| $related = [] ) |
Constructor.
- Parameters
-
stdClass | $question | |
array | $related | The related data. |
◆ define_properties()
static core_question\external\question_icon_exporter::define_properties |
( |
| ) |
|
|
staticprotected |
Return the list of properties.
- Return values
-
◆ define_related()
static core_question\external\question_icon_exporter::define_related |
( |
| ) |
|
|
staticprotected |
Set the moodle context as a required related object.
- Return values
-
array | Required related objects. |
The documentation for this class was generated from the following file:
- question/classes/external/question_icon_exporter.php