[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

   1  <?php
   2  /**
   3  * @version        $Id: classes.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  JLoader::register('JPaneTabs',  JPATH_LIBRARIES.DS.'joomla'.DS.'html'.DS.'pane.php');
  19  
  20  /**
  21   * Legacy class, replaced by full MVC implementation.  See {@link JController}
  22   *
  23   * @deprecated    As of version 1.5
  24   * @package    Joomla.Legacy
  25   * @subpackage    1.5
  26   */
  27  class mosAbstractTasker
  28  {
  29  	function mosAbstractTasker()
  30      {
  31          jexit( 'mosAbstractTasker deprecated, use JController instead' );
  32      }
  33  }
  34  
  35  
  36  /**
  37   * Legacy class, removed
  38   *
  39   * @deprecated    As of version 1.5
  40   * @package    Joomla.Legacy
  41   * @subpackage    1.5
  42   */
  43  class mosEmpty
  44  {
  45  	function def( $key, $value='' )
  46      {
  47          return 1;
  48      }
  49  	function get( $key, $default='' )
  50      {
  51          return 1;
  52      }
  53  }
  54  
  55  
  56  /**
  57   * Legacy class, removed
  58   *
  59   * @deprecated    As of version 1.5
  60   * @package    Joomla.Legacy
  61   * @subpackage    1.5
  62   */
  63  class MENU_Default
  64  {
  65  	function MENU_Default()
  66      {
  67          JToolBarHelper::publishList();
  68          JToolBarHelper::unpublishList();
  69          JToolBarHelper::addNew();
  70          JToolBarHelper::editList();
  71          JToolBarHelper::deleteList();
  72          JToolBarHelper::spacer();
  73      }
  74  }
  75  
  76  /**
  77   * Legacy class, use {@link JPanel} instead
  78   *
  79   * @deprecated    As of version 1.5
  80   * @package    Joomla.Legacy
  81   * @subpackage    1.5
  82   */
  83  class mosTabs extends JPaneTabs
  84  {
  85      var $useCookies = false;
  86  
  87  	function __construct( $useCookies, $xhtml = null) {
  88          parent::__construct( array('useCookies' => $useCookies) );
  89      }
  90  
  91  	function startTab( $tabText, $paneid ) {
  92          echo $this->startPanel( $tabText, $paneid);
  93      }
  94  
  95  	function endTab() {
  96          echo $this->endPanel();
  97      }
  98  
  99  	function startPane( $tabText ){
 100          echo parent::startPane( $tabText );
 101      }
 102  
 103  	function endPane(){
 104          echo parent::endPane();
 105      }
 106  }


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