b2evolution PHP Cross Reference Blogging Systems

Source: /inc/plugins/model/_plugins_admin_no_db.class.php - 59 lines - 1832 bytes - Summary - Text - Print

Description: This file implements the {@link Plugins_admin_no_DB} class, which gets used for administrative handling of the {@link Plugin Plugins}, but without database. This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. See also {@link http://sourceforge.net/projects/evocms/}.

   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-2014 by Francois Planque - {@link http://fplanque.com/}.
  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 plugins
  21   *
  22   * @author blueyed: Daniel HAHLER
  23   *
  24   * @version $Id: _plugins_admin_no_db.class.php 6136 2014-03-08 07:59:48Z manuel $
  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', 'Plugins_admin' );
  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  ?>

title

Description

title

Description

title

Description

title

title

Body