Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_communication

Topics

 test
 
 

Directories

directory provider
  
 

Namespaces

namespace  core_communication
  
 
namespace  core_communication\admin
  
 
namespace  core_communication\form
 Configure communication for a given instance - the form definition.
 
namespace  core_communication\privacy
  
 
namespace  core_communication\task
  
 

Classes

class  core_communication\admin\manage_communication_providers_page
 Communication providers manager. More...
 
class  core_communication\api
 Class api is the public endpoint of the communication api. More...
 
interface  core_communication\communication_provider
 A base communication provider. More...
 
class  core_communication\form\configure_form
 Defines the configure communication form. More...
 
interface  core_communication\form_provider
 Interface form_provider to manage communication provider form options from provider plugins. More...
 
class  core_communication\privacy\provider
 Privacy Subsystem for core_communication implementing null_provider. More...
 
class  core_communication\processor
 Class processor to manage the base operations of the providers. More...
 
interface  core_communication\room_chat_provider
 Class communication_room_base to manage the room operations of communication providers. More...
 
interface  core_communication\room_user_provider
 Class communication_user_base to manage communication provider users. More...
 
class  core_communication\task\add_members_to_room_task
 Class add_members_to_room_task to add the task to add members to the room and execute the task to action the addition. More...
 
class  core_communication\task\create_and_configure_room_task
 Class create_and_configure_room_task to add a task to create a room and execute the task to action the creation. More...
 
class  core_communication\task\delete_room_task
 Class delete_room_task to add a task to delete a room and execute the task to action the deletion. More...
 
class  core_communication\task\remove_members_from_room
 Class remove_members_from_room to add the task to remove members to the room and execute the task to action the removal. More...
 
class  core_communication\task\update_room_membership_task
 Class update_room_membership_task to add the task to update members for the room and execute the task to action the addition. More...
 
class  core_communication\task\update_room_task
 Class update_room_task to add a task to update a room and execute the task to action the update. More...
 
interface  core_communication\user_provider
 Class communication_user_base to manage communication provider users. More...
 

Functions

 core_communication_pluginfile ( $course, $cm, $context, $filearea, $args, $forcedownload, array $options=[])
 Callback and library methods for core communication.
 

Detailed Description

Function Documentation

◆ core_communication_pluginfile()

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

Callback and library methods for core communication.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 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