- md5
- 8de93e72869c3385477984506dd11b05
- sha1
- 36933c431a6bfa4d5118761394199f9d1a50e47b
- sha256
- 28caa9c67f9605cbb58f5d6c512d7fc8f685833d5821dcb8c059526fe77b635b
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
<?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2017 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
*
* @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.
*/
public function cancel()
{
JLog::add('ConfigControllerComponent is deprecated. Use ConfigControllerComponentCancel instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerComponentCancel;
$controller->execute();
}
/**
* Save the configuration.
*
* @return boolean True if successful; false otherwise.
*
* @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.7.0-alpha2 to 3.7.0-beta1. See them all, or every version of this file.