X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2FContributionProcessor.php;h=640b350638a54e9912ea4339dbcf6715e833d99f;hb=7465c198042a614d60813fdb312a3a1bab8f73d3;hp=3342fd484c4703c25b9ba401a26bcd567eb59441;hpb=a65f52b63ddf8b85bbf7abb98155fb2a9bf2a693;p=civicrm-core.git diff --git a/bin/ContributionProcessor.php b/bin/ContributionProcessor.php index 3342fd484c..640b350638 100644 --- a/bin/ContributionProcessor.php +++ b/bin/ContributionProcessor.php @@ -31,7 +31,7 @@ * @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',