X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2FContributionProcessor.php;h=640b350638a54e9912ea4339dbcf6715e833d99f;hb=9853731c2578d7eedfc0ec0cb442520081da9966;hp=7c961b5ed9231fe377c8f30c95acf16d6d926eb8;hpb=15c29ea138b36508e80ae3d674a1ca1c3fdd1c87;p=civicrm-core.git diff --git a/bin/ContributionProcessor.php b/bin/ContributionProcessor.php index 7c961b5ed9..640b350638 100644 --- a/bin/ContributionProcessor.php +++ b/bin/ContributionProcessor.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,10 +28,10 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2017 + * @copyright CiviCRM LLC (c) 2004-2019 */ class CiviContributeProcessor { - static $_paypalParamsMapper = array( + public static $_paypalParamsMapper = array( //category => array(paypal_param => civicrm_field); 'contact' => array( 'salutation' => 'prefix_id', @@ -72,10 +72,13 @@ class CiviContributeProcessor { ), ); - static $_csvParamsMapper = array( - // Note: if csv header is not present in the mapper, header itself - // is considered as a civicrm field. - //category => array(csv_header => civicrm_field); + /** + * Note: if csv header is not present in the mapper, header itself + * is considered as a civicrm field. + * category => array(csv_header => civicrm_field); + * @var array + */ + public static $_csvParamsMapper = array( 'contact' => array( 'first_name' => 'first_name', 'last_name' => 'last_name',