X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FQuickForm%2FAction%2FJump.php;h=3c11a08ef200e10e21097f9cb6dfe04db0f87730;hb=e7112fa7e47b60bc62f543f89c63f1e024546995;hp=ce6b92b3e42b0ba3326a32c46954fbb6ec7dae77;hpb=e7f7aef7265627c99d27b5e9cecdfe5d3e50f7de;p=civicrm-core.git diff --git a/CRM/Core/QuickForm/Action/Jump.php b/CRM/Core/QuickForm/Action/Jump.php index ce6b92b3e4..3c11a08ef2 100644 --- a/CRM/Core/QuickForm/Action/Jump.php +++ b/CRM/Core/QuickForm/Action/Jump.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,40 +23,41 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * Redefine the jump action. * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ class CRM_Core_QuickForm_Action_Jump extends CRM_Core_QuickForm_Action { /** - * Class constructor + * Class constructor. * - * @param object $stateMachine reference to state machine object + * @param object $stateMachine + * Reference to state machine object. * * @return \CRM_Core_QuickForm_Action_Jump - @access public */ - function __construct(&$stateMachine) { + public function __construct(&$stateMachine) { parent::__construct($stateMachine); } /** * Processes the request. * - * @param CRM_Core_Form $page CRM_Core_Form the current form-page - * @param string $actionName Current action name, as one Action object can serve multiple actions + * @param CRM_Core_Form $page + * CRM_Core_Form the current form-page. + * @param string $actionName + * Current action name, as one Action object can serve multiple actions. * * @return void - * @access public */ - function perform(&$page, $actionName) { + public function perform(&$page, $actionName) { // check whether the page is valid before trying to go to it if ($page->controller->isModal()) { // we check whether *all* pages up to current are valid @@ -77,5 +78,5 @@ class CRM_Core_QuickForm_Action_Jump extends CRM_Core_QuickForm_Action { CRM_Utils_System::redirect($url); } -} +}