) {
$headerRows = $returnProperties = array();
- $primary = $paymentFields = $selectedPaymentFields = FALSE;
- $origFields = $fields;
+ $paymentFields = $selectedPaymentFields = FALSE;
$relationField = NULL;
$phoneTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Phone', 'phone_type_id');
$returnProperties['current_employer'] = 1;
}
- $extraReturnProperties = array();
- $paymentFields = FALSE;
-
$extraProperties = self::defineExtraProperties($queryMode);
$paymentFields = $extraProperties['paymentFields'];
$extraReturnProperties = $extraProperties['extraReturnProperties'];
$queryString = "$select $from $where $having";
- $groupBy = "";
-
$groupBy = self::getGroupBy($exportMode, $queryMode, $returnProperties, $query);
$queryString .= $groupBy;