joomla_test/libraries/legacy/web/web.php

45 lines
1.9 KiB
PHP
Raw Permalink Normal View History

2020-01-02 22:20:31 +07:00
<?php
/**
* @package Joomla.Legacy
* @subpackage Application
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Deprecated class placeholder. You should use JApplicationWeb instead.
*
* @package Joomla.Legacy
* @subpackage Application
* @since 11.3
* @deprecated 12.3 (Platform) & 4.0 (CMS) - Use JApplicationWeb instead.
* @codeCoverageIgnore
*/
class JWeb extends JApplicationWeb
{
/**
* Class constructor.
*
* @param mixed $input An optional argument to provide dependency injection for the application's
* input object. If the argument is a JInput object that object will become
* the application's input object, otherwise a default input object is created.
* @param mixed $config An optional argument to provide dependency injection for the application's
* config object. If the argument is a JRegistry object that object will become
* the application's config object, otherwise a default config object is created.
* @param mixed $client An optional argument to provide dependency injection for the application's
* client object. If the argument is a JApplicationWebClient object that object will become
* the application's client object, otherwise a default client object is created.
*
* @since 11.3
* @deprecated 12.3 (Platform) & 4.0 (CMS) Use JApplicationWeb instead.
*/
public function __construct(JInput $input = null, JRegistry $config = null, JApplicationWebClient $client = null)
{
JLog::add('JWeb is deprecated. Use JApplicationWeb instead.', JLog::WARNING, 'deprecated');
parent::__construct($input, $config, $client);
}
}