Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
web.php
Aller à la documentation de ce fichier.
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 = null, JRegistry $config = null, JApplicationWebClient $client = null)
40  {
41  JLog::add('JWeb is deprecated. Use JApplicationWeb instead.', JLog::WARNING, 'deprecated');
42  parent::__construct($input, $config, $client);
43  }
44 }