if ($moreReturnProperties) {
$processor->setAdditionalRequestedReturnProperties($moreReturnProperties);
}
- $paymentTableId = $processor->getPaymentTableID();
list($query, $select, $from, $where, $having) = $processor->runQuery($params, $order);
while ($iterationDAO->fetch()) {
$count++;
$rowsThisIteration++;
- $row = $processor->buildRow($query, $iterationDAO, $outputColumns, $metadata, $paymentDetails, $addPaymentHeader, $paymentTableId);
+ $row = $processor->buildRow($query, $iterationDAO, $outputColumns, $metadata, $paymentDetails, $addPaymentHeader, $processor);
if ($row === FALSE) {
continue;
}
* @param $metadata
* @param $paymentDetails
* @param $addPaymentHeader
- * @param $paymentTableId
+ * @param \CRM_Export_BAO_ExportProcessor $processor
*
* @return array|bool
*/
- public function buildRow($query, $iterationDAO, $outputColumns, $metadata, $paymentDetails, $addPaymentHeader, $paymentTableId) {
+ public function buildRow($query, $iterationDAO, $outputColumns, $metadata, $paymentDetails, $addPaymentHeader, $processor) {
+ $paymentTableId = $processor->getPaymentTableID();
if ($this->isHouseholdToSkip($iterationDAO->contact_id)) {
return FALSE;
}