Source for file cancel.php

Documentation is available at cancel.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Libraries
  4.  * @subpackage  Controller
  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
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. /**
  13.  * Cancel Controller
  14.  *
  15.  * @package     Joomla.Libraries
  16.  * @subpackage  com_config
  17.  * @since       3.2
  18.  */
  19. {
  20.     /**
  21.      * Application object - Redeclared for proper typehinting
  22.      *
  23.      * @var    JApplicationCms 
  24.      * @since  3.2
  25.      */
  26.     protected $app;
  27.  
  28.     /**
  29.      * Method to handle cancel
  30.      *
  31.      * @return  boolean  True on success.
  32.      *
  33.      * @since   3.2
  34.      */
  35.     public function execute()
  36.     {
  37.         // Redirect back to home(base) page
  38.         $this->app->redirect(JUri::base());
  39.     }
  40. }

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