[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/plugins/model/ -> _plugins_admin_no_db.class.php (source)

   1  <?php
   2  /**

   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.

   5   *

   6   * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}.

   7   * See also {@link http://sourceforge.net/projects/evocms/}.

   8   *

   9   * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}.

  10   * Parts of this file are copyright (c)2006 by Daniel HAHLER - {@link http://daniel.hahler.de/}.

  11   *

  12   * @license http://b2evolution.net/about/license.html GNU General Public License (GPL)

  13   *

  14   * {@internal Open Source relicensing agreement:

  15   * Daniel HAHLER grants Francois PLANQUE the right to license

  16   * Daniel HAHLER's contributions to this file and the b2evolution project

  17   * under any OSI approved OSS license (http://www.opensource.org/licenses/).

  18   * }}

  19   *

  20   * @package evocore

  21   *

  22   * @author blueyed: Daniel HAHLER

  23   *

  24   * @version $Id: _plugins_admin_no_db.class.php,v 1.1 2007/06/25 11:00:50 fplanque Exp $

  25   */
  26  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  27  
  28  
  29  load_class('plugins/model/_plugins_admin.class.php');
  30  
  31  
  32  /**

  33   * A sub-class of {@link Plugins_admin} which will not load any DB info (i-e: Plugins and Events).

  34   *

  35   * This is useful for displaying a list of available plugins which can be installed.

  36   * This is also useful during installation in order to have a global $Plugins object that does not interfere with the installation process.

  37   *

  38   * {@internal This is probably quicker and cleaner than using a member boolean in {@link Plugins_admin} itself.}}

  39   *

  40   * @package plugins

  41   */
  42  class Plugins_admin_no_DB extends Plugins_admin
  43  {
  44      /**

  45       * No-operation.

  46       */
  47  	function load_plugins_table()
  48      {
  49      }
  50  
  51      /**

  52       * No-operation.

  53       */
  54  	function load_events()
  55      {
  56      }
  57  }
  58  
  59  
  60  /*

  61   * $Log: _plugins_admin_no_db.class.php,v $

  62   * Revision 1.1  2007/06/25 11:00:50  fplanque

  63   * MODULES (refactored MVC)

  64   *

  65   * Revision 1.4  2007/04/26 00:11:08  fplanque

  66   * (c) 2007

  67   *

  68   * Revision 1.3  2006/12/03 16:22:15  fplanque

  69   * doc

  70   *

  71   * Revision 1.2  2006/11/30 06:20:57  blueyed

  72   * load_class(parent)

  73   *

  74   * Revision 1.1  2006/11/30 05:43:40  blueyed

  75   * Moved Plugins::discover() to Plugins_admin::discover(); Renamed Plugins_no_DB to Plugins_admin_no_DB (and deriving from Plugins_admin)

  76   */
  77  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics