Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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\constants
 
class  core_communication\form\configure_form
 Defines the configure communication form. More...
 
interface  core_communication\form_provider
 
class  core_communication\helper
 
class  core_communication\hook_listener
 
class  core_communication\privacy\provider
 
class  core_communication\processor
 
interface  core_communication\room_chat_provider
 
interface  core_communication\room_user_provider
 
interface  core_communication\synchronise_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\synchronise_provider_task
 
class  core_communication\task\synchronise_providers_task
 
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