some comment fixes
[civicrm-core.git] / CRM / Export / BAO / Export.php
index f7693dac625d090376b3de5b438e0e45857c72f0..d991ee3b01603b6da9ffa4f287e717a0db2fee45 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -72,9 +72,8 @@ class CRM_Export_BAO_Export {
    * @param array $exportParams
    * @param string $queryOperator
    *
-   * @static
    */
-  static function exportComponents(
+  public static function exportComponents(
     $selectAll,
     $ids,
     $params,
@@ -323,8 +322,7 @@ class CRM_Export_BAO_Export {
         $componentReturnProperties = CRM_Contact_BAO_Query::defaultReturnProperties($queryMode);
         if ($queryMode == CRM_Contact_BAO_Query::MODE_CONTRIBUTE) {
           // soft credit columns are not automatically populated, because contribution search doesn't require them by default
-          $componentReturnProperties =
-            array_merge(
+          $componentReturnProperties = array_merge(
               $componentReturnProperties,
               CRM_Contribute_BAO_Query::softCreditReturnProperties(TRUE));
         }
@@ -1693,9 +1691,9 @@ WHERE  id IN ( $deleteIDString )
    * Example: 'Hello {contact.first_name}' => converted to => '{contact.first_name}'
    * i.e 'Hello Alan' => converted to => 'Alan'
    */
-  static function _trimNonTokens(
+  public static function _trimNonTokens(
     &$parsedString, $defaultGreeting,
-                                 $addressMergeGreetings, $greetingType = 'postal_greeting'
+    $addressMergeGreetings, $greetingType = 'postal_greeting'
   ) {
     if (!empty($addressMergeGreetings[$greetingType])) {
       $greetingLabel = $addressMergeGreetings[$greetingType];
@@ -2040,4 +2038,5 @@ WHERE  {$whereClause}";
     }
     return $componentPaymentFields;
   }
+
 }