Callback and library methods for core communication.
Copyright: | 2023 Safat Shahin <safat.shahin@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 61 lines (2 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_communication_pluginfile($course,$cm,$context,$filearea,$args,$forcedownload,array $options = []) X-Ref |
Serve the files from the core_communication file areas. param: stdClass $course the course object param: stdClass $cm the course module object param: context $context the context param: string $filearea the name of the file area param: array $args extra arguments (itemid, path) param: bool $forcedownload whether force download param: array $options additional options affecting the file serving |