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
22 class CRM_Member_Import_Form_Preview
extends CRM_Import_Form_Preview
{
25 * Set variables up before form is built.
29 public function preProcess() {
31 $this->setStatusUrl();
35 * @return \CRM_Member_Import_Parser_Membership
37 protected function getParser(): CRM_Member_Import_Parser_Membership
{
39 $this->parser
= new CRM_Member_Import_Parser_Membership();
40 $this->parser
->setUserJobID($this->getUserJobID());
41 $this->parser
->init();