3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
13 * Redefine the next action.
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
20 class CRM_Core_QuickForm_Action_Next
extends CRM_Core_QuickForm_Action
{
25 * @param object $stateMachine
26 * Reference to state machine object.
28 * @return \CRM_Core_QuickForm_Action_Next
30 public function __construct(&$stateMachine) {
31 parent
::__construct($stateMachine);
35 * Processes the request.
37 * @param CRM_Core_Form $page
38 * CRM_Core_Form the current form-page.
39 * @param string $actionName
40 * Current action name, as one Action object can serve multiple actions.
44 public function perform(&$page, $actionName) {
45 $this->_stateMachine
->perform($page, $actionName, 'Next');