Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
client.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 JApplicationWebClient instead.
14  *
15  * @package Joomla.Legacy
16  * @subpackage Application
17  * @since 11.3
18  * @deprecated 12.3 (Platform) & 4.0 (CMS)
19  * @codeCoverageIgnore
20  */
22 {
23  /**
24  * Class constructor.
25  *
26  * @param mixed $userAgent The optional user-agent string to parse.
27  * @param mixed $acceptEncoding The optional client accept encoding string to parse.
28  * @param mixed $acceptLanguage The optional client accept language string to parse.
29  *
30  * @since 11.3
31  */
32  public function __construct($userAgent = null, $acceptEncoding = null, $acceptLanguage = null)
33  {
34  JLog::add('JWebClient is deprecated. Use JApplicationWebClient instead.', JLog::WARNING, 'deprecated');
35  parent::__construct($userAgent, $acceptEncoding, $acceptLanguage);
36  }
37 }