|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | qtype_ordering |
| | |
| namespace | qtype_ordering\output |
| | |
| namespace | qtype_ordering\privacy |
| | |
Functions | |
| qtype_ordering_pluginfile (stdClass $course, stdClass $cm, stdClass $context, string $filearea, array $args, bool $forcedownload, array $options=[]) | |
| Checks file access for ordering questions. | |
| xmldb_qtype_ordering_upgrade ($oldversion) | |
| Upgrade code for the ordering question type. | |
Variables | |
| global | $CFG |
| $plugin = 2024100100 | |
| $plugin | component = 'qtype_ordering' |
| $plugin | version = 2024100700 |
| qtype_ordering_pluginfile | ( | stdClass | $course, |
| stdClass | $cm, | ||
| stdClass | $context, | ||
| string | $filearea, | ||
| array | $args, | ||
| bool | $forcedownload, | ||
| array | $options = [] ) |
Checks file access for ordering questions.
| stdClass | $course | course object |
| stdClass | $cm | course module object |
| stdClass | $context | context object |
| string | $filearea | file area |
| array | $args | extra arguments |
| bool | $forcedownload | whether or not force download |
| array | $options | additional options affecting the file serving @codeCoverageIgnore This code can not be tested currently as pluginfile() is not testable. |
| xmldb_qtype_ordering_upgrade | ( | $oldversion | ) |
Upgrade code for the ordering question type.
| int | $oldversion | the version we are upgrading from. |