Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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 = 2024041600 | |
$plugin | component = 'qtype_ordering' |
$plugin | version = 2024042200 |
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. |