3
* This file implements the {@link Plugins_admin_no_DB} class, which gets used for administrative
4
* handling of the {@link Plugin Plugins}, but without database.
6
* This file is part of the Quam Plures project - {@link http://quamplures.net/}.
7
* See also {@link https://launchpad.net/quam-plures}.
9
* @copyright (c) 2009 - 2011 by the Quam Plures developers - {@link http://quamplures.net/}
10
* @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/}.
11
* Parts of this file are copyright (c)2006 by Daniel HAHLER - {@link http://daniel.hahler.de/}.
13
* @license http://quamplures.net/license.html GNU General Public License (GPL)
15
* {@internal Open Source relicensing agreement:
16
* Daniel HAHLER grants Francois PLANQUE the right to license
17
* Daniel HAHLER's contributions to this file and the b2evolution project
18
* under any OSI approved OSS license (http://www.opensource.org/licenses/).
21
* @author blueyed: Daniel HAHLER
25
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
28
load_class('plugins/model/_plugins_admin.class.php');
32
* A sub-class of {@link Plugins_admin} which will not load any DB info (i-e: Plugins and Events).
3
* This file implements the Plugins_admin_no_DB class
5
* This gets used for administrative handling of the {@link Plugin Plugins}, but
6
* without database. A sub-class of {@link Plugins_admin} which will not load
7
* any DB info (i-e: Plugins and Events).
34
9
* This is useful for displaying a list of available plugins which can be installed.
35
* This is also useful during installation in order to have a global $Plugins object that does not interfere with the installation process.
10
* This is also useful during installation in order to have a global $Plugins object
11
* that does not interfere with the installation process. This is probably quicker
12
* and cleaner than using a member boolean in {@link Plugins_admin} itself.
37
* {@internal This is probably quicker and cleaner than using a member boolean in {@link Plugins_admin} itself.}}
14
* @author {@link http://wonderwinds.com/ Ed Bennett}
15
* @author {@link http://daniel.hahler.de/ Daniel HAHLER}
16
* @author {@link http://fplanque.net/ Francois PLANQUE}
17
* @copyright (c) 2009 by {@link http://quamplures.net/ the Quam Plures project}
18
* @license http://www.gnu.org/licenses/gpl.txt GNU General Public License v3
21
if(!defined('QP_MAIN_INIT')) die('fail');
24
* Plugins_admin_no_DB class
41
28
class Plugins_admin_no_DB extends Plugins_admin
46
34
function load_plugins_table()
53
42
function load_events()