~dantrevino/ubuntu-us-florida-website/main

« back to all changes in this revision

Viewing changes to plugins/system/legacy/module.php

  • Committer: Dan Trevnio
  • Date: 2009-03-24 20:37:18 UTC
  • Revision ID: dantrevino@gmail.com-20090324203718-pg0e3lp4ztjjku9o
initialĀ siteĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
* @version              $Id: module.php 10381 2008-06-01 03:35:53Z pasamio $
 
4
* @package              Joomla.Legacy
 
5
* @subpackage   1.5
 
6
* @copyright    Copyright (C) 2005 - 2008 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
}
 
 
b'\\ No newline at end of file'