Source for file client.php

Documentation is available at client.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 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.  */
  21. {
  22.     /**
  23.      * Class constructor.
  24.      *
  25.      * @param   mixed  $userAgent       The optional user-agent string to parse.
  26.      * @param   mixed  $acceptEncoding  The optional client accept encoding string to parse.
  27.      * @param   mixed  $acceptLanguage  The optional client accept language string to parse.
  28.      *
  29.      * @since   11.3
  30.      */
  31.     public function __construct($userAgent null$acceptEncoding null$acceptLanguage null)
  32.     {
  33.         JLog::add('JWebClient is deprecated. Use JApplicationWebClient instead.'JLog::WARNING'deprecated');
  34.         parent::__construct($userAgent$acceptEncoding$acceptLanguage);
  35.     }
  36. }

Documentation generated on Tue, 19 Nov 2013 14:55:48 +0100 by phpDocumentor 1.4.3