[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/plugins/system/legacy/ -> module.php (source)

   1  <?php
   2  /**
   3  * @version        $Id: module.php 14401 2010-01-26 14:10:00Z louis $
   4  * @package        Joomla.Legacy
   5  * @subpackage    1.5
   6  * @copyright    Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
   7  * @license        GNU/GPL, see LICENSE.php
   8  * Joomla! is free software. This version may have been modified pursuant
   9  * to the GNU General Public License, and as distributed it includes or
  10  * is derivative of works licensed under the GNU General Public License or
  11  * other free or open source software licenses.
  12  * See COPYRIGHT.php for copyright notices and details.
  13  */
  14  
  15  // Check to ensure this file is within the rest of the framework
  16  defined('JPATH_BASE') or die();
  17  
  18  // Register legacy classes for autoloading
  19  JLoader::register('JTableModule'   , JPATH_LIBRARIES.DS.'joomla'.DS.'database'.DS.'table'.DS.'module.php');
  20  
  21  /**
  22   * Legacy class, use {@link JTableModule} instead
  23   *
  24   * @deprecated    As of version 1.5
  25   * @package    Joomla.Legacy
  26   * @subpackage    1.5
  27   */
  28  class mosModule extends JTableModule
  29  {
  30      /**
  31       * Constructor
  32       */
  33  	function __construct(&$db)
  34      {
  35          parent::__construct( $db );
  36      }
  37  
  38  	function mosModule(&$db)
  39      {
  40          parent::__construct( $db );
  41      }
  42  
  43      /**
  44       * Legacy Method, use {@link JTable::reorder()} instead
  45       * @deprecated As of 1.5
  46       */
  47  	function updateOrder( $where='' )
  48      {
  49          return $this->reorder( $where );
  50      }
  51  
  52      /**
  53       * Legacy Method, use {@link JTable::publish()} instead
  54       * @deprecated As of 1.0.3
  55       */
  56  	function publish_array( $cid=null, $publish=1, $user_id=0 )
  57      {
  58          $this->publish( $cid, $publish, $user_id );
  59      }
  60  }


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1