Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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 |