芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/classes/plugininfo/mlbackend.php
. /** * Defines classes used for plugin info. * * @package core * @copyright 2017 David Monllao * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core\plugininfo; defined('MOODLE_INTERNAL') || die(); /** * Class for analytics machine learning backend plugins * * @package core * @copyright 2017 David Monllao * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class mlbackend extends base { /** * Is uninstall allowed or not. * * @return bool */ public function is_uninstall_allowed() { return !\core_analytics\manager::is_mlbackend_used('mlbackend_' . $this->name); } /** * Returns the node name used in admin settings menu for this plugin settings (if applicable). * * @return null|string node name or null if plugin does not create settings node (default) */ public function get_settings_section_name() { return 'mlbackendsetting' . $this->name; } }