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 * This class previews the uploaded file and returns summary statistics.
21 class CRM_Contribute_Import_Form_Preview
extends CRM_Import_Form_Preview
{
24 * @return \CRM_Contribute_Import_Parser_Contribution
26 protected function getParser(): CRM_Contribute_Import_Parser_Contribution
{
28 $this->parser
= new CRM_Contribute_Import_Parser_Contribution();
29 $this->parser
->setUserJobID($this->getUserJobID());
30 $this->parser
->init();