Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Class communication_room_base to manage the room operations of communication providers. More...
Public Member Functions | |
create_chat_room () | |
Create a provider room when a instance is created. | |
delete_chat_room () | |
Delete a provider room when a instance is deleted. | |
get_chat_room_url () | |
Generate a room url if there is a room. | |
update_chat_room () | |
Update a provider room when a instance is updated. | |
Class communication_room_base to manage the room operations of communication providers.
Every plugin that supports room operation must implement/extend this class in the plugin.
core_communication\room_chat_provider::create_chat_room | ( | ) |
Create a provider room when a instance is created.
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.
core_communication\room_chat_provider::delete_chat_room | ( | ) |
Delete a provider room when a instance is deleted.
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.
core_communication\room_chat_provider::get_chat_room_url | ( | ) |
Generate a room url if there is a room.
string|null |
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.
core_communication\room_chat_provider::update_chat_room | ( | ) |
Update a provider room when a instance is updated.
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.