Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core_communication

Namespaces

namespace  core_communication
  
 
namespace  core_communication\admin
  
 
namespace  core_communication\form
  
 
namespace  core_communication\privacy
  
 
namespace  core_communication\task
  
 

Classes

class  behat_communication
 
class  core_communication\admin\manage_communication_providers_page
 
class  core_communication\api
 
interface  core_communication\communication_provider
 
class  core_communication\form\configure_form
 Defines the configure communication form. More...
 
interface  core_communication\form_provider
 
class  core_communication\privacy\provider
 
class  core_communication\processor
 
interface  core_communication\room_chat_provider
 
interface  core_communication\room_user_provider
 
class  core_communication\task\add_members_to_room_task
 
class  core_communication\task\create_and_configure_room_task
 
class  core_communication\task\delete_room_task
 
class  core_communication\task\remove_members_from_room
 
class  core_communication\task\update_room_membership_task
 
class  core_communication\task\update_room_task
 
interface  core_communication\user_provider
 

Functions

 core_communication_pluginfile ( $course, $cm, $context, $filearea, $args, $forcedownload, array $options=[])
 Serve the files from the core_communication file areas.
 

Detailed Description

Function Documentation

◆ core_communication_pluginfile()

core_communication_pluginfile ( $course,
$cm,
$context,
$filearea,
$args,
$forcedownload,
array $options = [] )

Serve the files from the core_communication file areas.

Parameters
stdClass$coursethe course object
stdClass$cmthe course module object
context$contextthe context
string$fileareathe name of the file area
array$argsextra arguments (itemid, path)
bool$forcedownloadwhether force download
array$optionsadditional options affecting the file serving