Source for file web.php

Documentation is available at web.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Legacy
  4.  * @subpackage  Application
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. /**
  13.  * Deprecated class placeholder.  You should use JApplicationWeb instead.
  14.  *
  15.  * @package     Joomla.Legacy
  16.  * @subpackage  Application
  17.  * @since       11.3
  18.  * @deprecated  12.3 (Platform) & 4.0 (CMS) - Use JApplicationWeb instead.
  19.  * @codeCoverageIgnore
  20.  */
  21. class JWeb extends JApplicationWeb
  22. {
  23.     /**
  24.      * Class constructor.
  25.      *
  26.      * @param   mixed  $input   An optional argument to provide dependency injection for the application's
  27.      *                           input object.  If the argument is a JInput object that object will become
  28.      *                           the application's input object, otherwise a default input object is created.
  29.      * @param   mixed  $config  An optional argument to provide dependency injection for the application's
  30.      *                           config object.  If the argument is a JRegistry object that object will become
  31.      *                           the application's config object, otherwise a default config object is created.
  32.      * @param   mixed  $client  An optional argument to provide dependency injection for the application's
  33.      *                           client object.  If the argument is a JApplicationWebClient object that object will become
  34.      *                           the application's client object, otherwise a default client object is created.
  35.      *
  36.      * @since   11.3
  37.      * @deprecated  12.3 (Platform) & 4.0 (CMS) Use JApplicationWeb instead.
  38.      */
  39.     public function __construct(JInput $input nullJRegistry $config nullJApplicationWebClient $client null)
  40.     {
  41.         JLog::add('JWeb is deprecated. Use JApplicationWeb instead.'JLog::WARNING'deprecated');
  42.         parent::__construct($input$config$client);
  43.     }
  44. }

Documentation generated on Tue, 19 Nov 2013 15:18:22 +0100 by phpDocumentor 1.4.3