Merge pull request #23669 from eileenmcnaughton/import_queue
[civicrm-core.git] / CRM / Import / Form / Summary.php
CommitLineData
52892e8b
CW
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
52892e8b 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 |
52892e8b 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
52892e8b
CW
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
52892e8b
CW
16 */
17
18/**
2b4bc760 19 * This class summarizes the import results.
20 *
52892e8b
CW
21 * TODO: CRM-11254 - if preProcess and postProcess functions can be reconciled between the 5 child classes,
22 * those classes can be removed entirely and this class will not need to be abstract
23 */
99e3c5f7 24abstract class CRM_Import_Form_Summary extends CRM_Import_Forms {
52892e8b
CW
25
26 /**
fe482240 27 * Build the form object.
52892e8b
CW
28 */
29 public function buildQuickForm() {
30 $this->addButtons(array(
31 array(
32 'type' => 'next',
33 'name' => ts('Done'),
34 'isDefault' => TRUE,
35 ),
971e129b 36 ));
52892e8b
CW
37 }
38
39 /**
2b4bc760 40 * Return a descriptive name for the page, used in wizard header.
52892e8b
CW
41 *
42 * @return string
52892e8b
CW
43 */
44 public function getTitle() {
45 return ts('Summary');
46 }
96025800 47
52892e8b 48}