%PDF- %PDF-
Direktori : /www/loslex_o/tracker/core/classes/ |
Current File : /www/loslex_o/tracker/core/classes/MissingClassPlugin.class.php |
<?php # MantisBT - A PHP based bugtracking system # MantisBT 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 2 of the License, or # (at your option) any later version. # # MantisBT 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 MantisBT. If not, see <http://www.gnu.org/licenses/>. /** * MantisBT Missing Base Class Plugin * @copyright Copyright 2019 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org * @package MantisBT * @subpackage classes */ /** * MantisBT Missing Base Class Plugin class * * The purpose of this class is to handle the error scenario when a plugin * directory exists, but does not contain a matching Class, e.g. because * the file does not exist, or the dir name does not match that of the Class. * * For Plugin API internal use only. */ final class MissingClassPlugin extends InvalidPlugin { function register() { $this->name = $this->basename; $this->description = lang_get( 'plugin_missing_class_description' ); $this->status = self::STATUS_MISSING_BASE_CLASS; $this->status_message = lang_get( 'plugin_missing_class_status_message' ); $this->removable = false; } }