<?php
/**
 * Legacy class, replaced by full MVC implementation.  See {@link JController}
 *
 * @deprecated    As of version 1.5
 * @package    Joomla.Legacy
 * @subpackage	3.0
 * @license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007; see LICENSE.txt
 * This file provides compatibility for simplemembership Library on Joomla 3.0! 
 *
 */
// Check to ensure this file is within the rest of the framework
defined('_JEXEC') or die('Restricted access');
// Register legacy classes for autoloading
JLoader::register('JTableMenu', JPATH_LIBRARIES . DS . 'joomla' . DS . 'database' . DS . 'table' . DS . 'menu.php');
if (!class_exists('mosMenu')) {
    class mosMenu extends JTableMenu {
        /**
         * Constructor
         */
        function __construct(&$db) {
            parent::__construct($db);
        }
        function mosMenu(&$db) {
            parent::__construct($db);
        }
        /**
         * Legacy Method, use {@link JTable::reorder()} instead
         * @deprecated As of 1.5
         */
        function updateOrder($where = '') {
            return $this->reorder($where);
        }
        /**
         * Legacy Method, use {@link JTable::publish()} instead
         * @deprecated As of 1.0.3
         */
        function publish_array($cid = null, $publish = 1, $user_id = 0) {
            $this->publish($cid, $publish, $user_id);
        }
    }
}
