2011-03-10 00:50:18 +01:00
|
|
|
<?php
|
2012-03-01 21:38:33 +01:00
|
|
|
|
2011-03-10 00:50:18 +01:00
|
|
|
// 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/>.
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Defines classes used for plugins management
|
|
|
|
*
|
|
|
|
* This library provides a unified interface to various plugin types in
|
|
|
|
* Moodle. It is mainly used by the plugins management admin page and the
|
|
|
|
* plugins check page during the upgrade.
|
|
|
|
*
|
|
|
|
* @package core
|
|
|
|
* @copyright 2011 David Mudrak <david@moodle.com>
|
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
|
*/
|
|
|
|
|
|
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
|
2012-09-19 12:34:47 +08:00
|
|
|
|
|
|
|
/**
|
2013-10-04 22:40:44 +02:00
|
|
|
* @deprecated since 2.6 - use core_plugin_manager instead.
|
2012-09-19 12:34:47 +08:00
|
|
|
*/
|
2013-10-04 22:40:44 +02:00
|
|
|
class plugin_manager extends core_plugin_manager {
|
|
|
|
// BC only.
|
|
|
|
public static function instance() {
|
|
|
|
return core_plugin_manager::instance();
|
2013-06-26 13:33:22 +02:00
|
|
|
}
|
2012-09-19 12:34:47 +08:00
|
|
|
}
|
2012-09-27 14:48:10 +08:00
|
|
|
|
|
|
|
/**
|
2013-10-04 22:40:44 +02:00
|
|
|
* @deprecated since 2.6 - use \core\plugininfo\base instead.
|
2012-09-27 14:48:10 +08:00
|
|
|
*/
|
2013-10-04 22:40:44 +02:00
|
|
|
class plugininfo_base extends \core\plugininfo\base {
|
|
|
|
// BC only.
|
2012-09-14 09:33:02 +01:00
|
|
|
}
|
2012-10-18 16:03:11 +08:00
|
|
|
|