Merge pull request #17179 from mattwire/addpaymentprocessortorecurlist
[civicrm-core.git] / CRM / Export / StateMachine / Standalone.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17 class CRM_Export_StateMachine_Standalone extends CRM_Core_StateMachine {
18
19 /**
20 * Class constructor.
21 *
22 * @param object $controller
23 * @param \const|int $action
24 */
25 public function __construct($controller, $action = CRM_Core_Action::NONE) {
26 parent::__construct($controller, $action);
27
28 $this->_pages = [
29 'CRM_Export_Form_Select' => NULL,
30 'CRM_Export_Form_Map' => NULL,
31 ];
32
33 $this->addSequentialPages($this->_pages, $action);
34 }
35
36 /**
37 * @todo So far does nothing.
38 *
39 * @return string
40 */
41 public function getTaskFormName() {
42 return '';
43 }
44
45 /**
46 * @todo not sure if this is needed
47 */
48 public function shouldReset() {
49 return FALSE;
50 }
51
52 }