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 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * State machine for managing different states of the Import process.
22 class CRM_Contribute_StateMachine_Contribution
extends CRM_Core_StateMachine
{
27 * @param CRM_Core_Controller $controller
28 * @param \const|int $action
30 * @return CRM_Contribute_StateMachine_Contribution
32 public function __construct($controller, $action = CRM_Core_Action
::NONE
) {
33 parent
::__construct($controller, $action);
36 'CRM_Contribute_Form_Contribution_Main' => NULL,
37 'CRM_Contribute_Form_Contribution_Confirm' => NULL,
38 'CRM_Contribute_Form_Contribution_ThankYou' => NULL,
41 $this->addSequentialPages($this->_pages
, $action);