|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Directories | |
| directory | h5plib |
| | |
Functions | |
| core_h5p_pluginfile ($course, $cm, $context, string $filearea, array $args, bool $forcedownload, array $options=[]) | |
| Serve the files from the core_h5p file areas. | |
| core_h5p_pluginfile | ( | $course, | |
| $cm, | |||
| $context, | |||
| string | $filearea, | ||
| array | $args, | ||
| bool | $forcedownload, | ||
| array | $options = [] ) |
Serve the files from the core_h5p file areas.
| stdClass | $course | the course object |
| stdClass | $cm | the course module object |
| stdClass | $context | the newmodule's context |
| string | $filearea | the name of the file area |
| array | $args | extra arguments (itemid, path) |
| bool | $forcedownload | whether or not force download |
| array | $options | additional options affecting the file serving |
| bool | Returns false if we don't find a file. |