|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | core_communication |
| | |
| namespace | core_communication\admin |
| | |
| namespace | core_communication\form |
| | |
| namespace | core_communication\privacy |
| | |
| namespace | core_communication\task |
| | |
Functions | |
| core_communication_pluginfile ( $course, $cm, $context, $filearea, $args, $forcedownload, array $options=[]) | |
| Serve the files from the core_communication file areas. | |
| core_communication_pluginfile | ( | $course, | |
| $cm, | |||
| $context, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| array | $options = [] ) |
Serve the files from the core_communication file areas.
| stdClass | $course | the course object |
| stdClass | $cm | the course module object |
| context | $context | the context |
| string | $filearea | the name of the file area |
| array | $args | extra arguments (itemid, path) |
| bool | $forcedownload | whether force download |
| array | $options | additional options affecting the file serving |