__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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;
/**
* A base communication provider.
*
* This interface should be used to declare support for the instantiation method for communication providers.
*
* Every communication provider must, as a minimum, implement this provider.
*
* @package core_communication
* @copyright 2023 Andrew Lyons <andrew@nicols.co.uk>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
interface communication_provider {
/**
* A base communication provider.
*
* @param processor $communication The communication object
*/
public static function load_for_instance(processor $communication): self;
/**
* Check if the provider is configured or not.
*
* This method is intended to check if the plugin have got any settings and if all the settings are set properly.
* This checking helps to reduce errors in future when a communication instance is added for the provider and not configured.
*/
public static function is_configured(): bool;
}
| 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 |
|