Source for file cancel.php

Documentation is available at cancel.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_config
  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.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Cancel Controller for global configuration components
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_config
  17.  * @since       3.2
  18. */
  19. {
  20.     /**
  21.      * Method to cancel global configuration component.
  22.      *
  23.      * @return  void 
  24.      *
  25.      * @since   3.2
  26.      */
  27.     public function execute()
  28.     {
  29.         $this->context = 'com_config.config.global';
  30.  
  31.         $this->component $this->input->getWord('component');
  32.  
  33.         $this->redirect = 'index.php?option=' $this->component;
  34.  
  35.         parent::execute();
  36.     }
  37. }

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