__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
namespace core_communication;
/**
* 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.
*
* @package core_communication
* @copyright 2023 Safat Shahin <safat.shahin@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
interface room_chat_provider {
/**
* Create a provider room when a instance is created.
*/
public function create_chat_room(): bool;
/**
* Update a provider room when a instance is updated.
*/
public function update_chat_room(): bool;
/**
* Delete a provider room when a instance is deleted.
*/
public function delete_chat_room(): bool;
/**
* Generate a room url if there is a room.
*
* @return string|null
*/
public function get_chat_room_url(): ?string;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin | Folder | 0777 |
|
|
| form | Folder | 0777 |
|
|
| privacy | Folder | 0777 |
|
|
| task | Folder | 0777 |
|
|
| api.php | File | 28.89 KB | 0777 |
|
| communication_provider.php | File | 1.69 KB | 0777 |
|
| constants.php | File | 1.84 KB | 0777 |
|
| form_provider.php | File | 1.73 KB | 0777 |
|
| helper.php | File | 21.85 KB | 0777 |
|
| hook_listener.php | File | 23.26 KB | 0777 |
|
| processor.php | File | 20.8 KB | 0777 |
|
| room_chat_provider.php | File | 1.59 KB | 0777 |
|
| room_user_provider.php | File | 1.53 KB | 0777 |
|
| synchronise_provider.php | File | 1.16 KB | 0777 |
|
| user_provider.php | File | 1.13 KB | 0777 |
|