- md5
- 9a1002fa5052e1ece4e5138de31bae21
- sha1
- 2b401f6c1889b0a4b5b8766cf5dbce351724a5dd
- sha256
- 8b059ccce6de902662f1f8996e644fe1d376bd7f809bfd24cc3a7750364bcd9f
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
<?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;
/**
* Controller for global configuration
*
* @since 1.5
* @deprecated 4.0
*/
class ConfigControllerApplication 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');
}
/**
* Method to save the configuration.
*
* @return bool True on success, false on failure.
*
* @since 1.5
* @deprecated 4.0 Use ConfigControllerApplicationSave instead.
*/
public function save()
{
JLog::add('ConfigControllerApplication is deprecated. Use ConfigControllerApplicationSave instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerApplicationSave;
return $controller->execute();
}
/**
* Cancel operation.
*
* @return boolean True if successful; false otherwise.
*
* @deprecated 4.0 Use ConfigControllerApplicationCancel instead.
*/
public function cancel()
{
JLog::add('ConfigControllerApplication is deprecated. Use ConfigControllerApplicationCancel instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerApplicationCancel;
return $controller->execute();
}
/**
* Method to remove the root property from the configuration.
*
* @return bool True on success, false on failure.
*
* @since 1.5
* @deprecated 4.0 Use ConfigControllerApplicationRemoveroot instead.
*/
public function removeroot()
{
JLog::add('ConfigControllerApplication is deprecated. Use ConfigControllerApplicationRemoveroot instead.', JLog::WARNING, 'deprecated');
$controller = new ConfigControllerApplicationRemoveroot;
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.