5 * Copyright (C) 2008 Vincent Tunru
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20 * @license http://www.fsf.org/licensing/licenses/info/GPLv2.html GPL v.2
21 * @category PivipPluginsDefault
22 * @package Plugin_Admin
23 * @copyright (C) 2008 Vincent Tunru
24 * @author Vincent Tunru <email@vincentt.org>
28 * Manage the Admin plugin
30 * The Admin plugin provides an administrative interface to Pivip and plugins.
32 * @see /library/Pivip/Plugin/Abstract.php
34 class Admin_Plugin
extends Pivip_Plugin_Abstract
37 * Checks whether the Admin plugin is installed
39 * @return boolean Whether Admin is already installed.
41 public static function isInstalled()
46 * Communicate that Admin does not need configuration
48 * Always returns false.
50 * @return boolean false, Admin does not need to be configured
52 public static function needsConfiguring()
58 * Install the Admin plugin
60 * @throws Pivip_Install_Exception
61 * @return boolean Whether the installation succeeded
63 public function install()
68 * Uninstall the Admin plugin
70 * @throws Pivip_Install_Exception
71 * @return boolean Whether uninstallation succeeded
73 public function uninstall()
82 public static function bootstrap()