- md5
- 7d0006a6ed96721702a1d7038c0dfdd6
- sha1
- 760cf5025d28e2e144e8dd99fdd0766e8ee2e19e
- sha256
- ccf2bf1f777ddbaa0f81a1150d312ff0d6bfe70ecf038678242844dcc08016cd
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
<?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Note: this view is intended only to be opened in a popup
*
* @package Joomla.Administrator
* @subpackage com_config
* @since 1.5
* @deprecated 4.0
*/
class ConfigControllerComponent extends JControllerLegacy
{
/**
* Class Constructor
*
* @param array $config An optional associative array of configuration settings.
*
* @since 1.5
* @deprecated 4.0
*/
public function __construct($config = array())
{
parent::__construct($config);
// Map the apply task to the save method.
$this->registerTask('apply', 'save');
}
/**
* Cancel operation
*
* @return void
*
* @since 3.0
* @deprecated 4.0 Use ConfigControllerComponentCancel instead.
*/
function cancel()
{
JLog::add('ConfigControllerComponent is deprecated. Use ConfigControllerComponentCancel instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerComponentCancel;
$controller->execute();
}
/**
* Save the configuration
* @deprecated 4.0 Use ConfigControllerComponentSave instead.
*/
public function save()
{
JLog::add('ConfigControllerComponent is deprecated. Use ConfigControllerComponentSave instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerComponentSave;
return $controller->execute();
}
}
The same content is in 2 releases, Joomla 3.2.0 to 3.2.1. See them all, or every version of this file.