~quam-plures-core/quam-plures/calendar_de-cored

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
 * This file implements the Plugins_admin_no_DB class
 *
 * This gets used for administrative handling of the {@link Plugin Plugins}, but
 * without database. A sub-class of {@link Plugins_admin} which will not load
 * any DB info (i-e: Plugins and Events).
 *
 * This is useful for displaying a list of available plugins which can be installed.
 * This is also useful during installation in order to have a global $Plugins object
 * that does not interfere with the installation process. This is probably quicker
 * and cleaner than using a member boolean in {@link Plugins_admin} itself.
 *
 * @author {@link http://wonderwinds.com/ Ed Bennett}
 * @author {@link http://daniel.hahler.de/ Daniel HAHLER}
 * @author {@link http://fplanque.net/ Francois PLANQUE}
 * @copyright (c) 2009 by {@link http://quamplures.net/ the Quam Plures project}
 * @license http://www.gnu.org/licenses/gpl.txt GNU General Public License v3
 * @package plugins
 */
if(!defined('QP_MAIN_INIT')) die('fail');

/**
 * Plugins_admin_no_DB class
 *
 * @package plugins
 */
class Plugins_admin_no_DB extends Plugins_admin
{

	/**
	 * No-operation
	 */
	function load_plugins_table()
	{
	}


	/**
	 * No-operation
	 */
	function load_events()
	{
	}

}

?>