APIv4 - Add Address::getCoordinates action
[civicrm-core.git] / CRM / SMS / StateMachine / Send.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
bc77d7c0
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035
TO
16 */
17
18/**
19 * State machine for managing different states of the Import process.
6a488035
TO
20 */
21class CRM_SMS_StateMachine_Send extends CRM_Core_StateMachine {
22
23 /**
fe482240 24 * Class constructor.
6a488035 25 *
77b97be7
EM
26 * @param object $controller
27 * @param \const|int $action
6a488035 28 *
77b97be7 29 * @return \CRM_SMS_StateMachine_Send CRM_SMS_StateMachine
6a488035 30 */
00be9182 31 public function __construct($controller, $action = CRM_Core_Action::NONE) {
6a488035
TO
32 parent::__construct($controller, $action);
33
be2fb01f 34 $this->_pages = [
6a488035
TO
35 'CRM_SMS_Form_Group' => NULL,
36 'CRM_SMS_Form_Upload' => NULL,
37 'CRM_SMS_Form_Schedule' => NULL,
be2fb01f 38 ];
6a488035
TO
39
40 $this->addSequentialPages($this->_pages, $action);
41 }
96025800 42
6a488035 43}