CRM-16737 spport either payment_status_id OR contribution_status_id as processor...
[civicrm-core.git] / CRM / Import / DataSource.php
index f3b420b26e3e7d18e811a4f62f22bfbb82a05624..b58e6ad8485d38b2d37b29eb67ec9e94686c1080 100644 (file)
@@ -3,13 +3,13 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | CiviCRM is free software; you can copy, modify, and distribute it  |
  | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2009.                                       |
+ | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
  |                                                                    |
  | CiviCRM is distributed in the hope that it will be useful, but     |
  | WITHOUT ANY WARRANTY; without even the implied warranty of         |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
 abstract class CRM_Import_DataSource {
 
   /**
-   * Provides information about the data source
+   * Provides information about the data source.
    *
    * @return array
    *   collection of info about this data source
-   *
-   *
    */
   abstract public function getInfo();
 
   /**
-   * Set variables up before form is built
-   *
+   * Set variables up before form is built.
    */
   abstract public function preProcess(&$form);
 
@@ -68,8 +65,8 @@ abstract class CRM_Import_DataSource {
   abstract public function buildQuickForm(&$form);
 
   /**
-   * Process the form submission
-   *
+   * Process the form submission.
    */
   abstract public function postProcess(&$params, &$db, &$form);
+
 }