src/Networks/Publicideas.php 1 location
|
@@ 167-172 (lines=6) @@
|
| 164 |
|
return array(); |
| 165 |
|
} |
| 166 |
|
$arrResult = array(); |
| 167 |
|
if (count( $arrMerchantID ) < 1) { |
| 168 |
|
$merchants = $this->getMerchants(); |
| 169 |
|
foreach ($merchants as $merchant) { |
| 170 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 171 |
|
} |
| 172 |
|
} |
| 173 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
| 174 |
|
//$i=0; |
| 175 |
|
foreach($transactionList as $transaction) { |
src/Networks/TradeDoubler.php 1 location
|
@@ 185-190 (lines=6) @@
|
| 182 |
|
return array(); |
| 183 |
|
} |
| 184 |
|
$arrResult = array(); |
| 185 |
|
if (count( $arrMerchantID ) < 1) { |
| 186 |
|
$merchants = $this->getMerchants(); |
| 187 |
|
foreach ($merchants as $merchant) { |
| 188 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 189 |
|
} |
| 190 |
|
} |
| 191 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
| 192 |
|
foreach($transactionList as $transaction) { |
| 193 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/Belboon.php 1 location
|
@@ 182-187 (lines=6) @@
|
| 179 |
|
{ |
| 180 |
|
$arrResult = array(); |
| 181 |
|
try { |
| 182 |
|
if (count( $arrMerchantID ) < 1) { |
| 183 |
|
$merchants = $this->getMerchants(); |
| 184 |
|
foreach ($merchants as $merchant) { |
| 185 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
| 189 |
|
|
| 190 |
|
foreach($transactionList as $transaction) { |
src/Networks/Zanox.php 1 location
|
@@ 223-228 (lines=6) @@
|
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
$arrResult = array(); |
| 223 |
|
if (count( $arrMerchantID ) < 1) { |
| 224 |
|
$merchants = $this->getMerchants(); |
| 225 |
|
foreach ($merchants as $merchant) { |
| 226 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 227 |
|
} |
| 228 |
|
} |
| 229 |
|
$transcationList = $this->_network->getTransactionList( $arrMerchantID, $dateFrom2, $dateTo ); |
| 230 |
|
foreach ($transcationList as $transaction) { |
| 231 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/Affilinet.php 1 location
|
@@ 194-199 (lines=6) @@
|
| 191 |
|
public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()): array |
| 192 |
|
{ |
| 193 |
|
$arrResult = array(); |
| 194 |
|
if (count( $arrMerchantID ) < 1) { |
| 195 |
|
$merchants = $this->getMerchants(); |
| 196 |
|
foreach ($merchants as $merchant) { |
| 197 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 198 |
|
} |
| 199 |
|
} |
| 200 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom,$dateTo); |
| 201 |
|
//echo "<br>merchants id array<br>".print_r($arrMerchantID); |
| 202 |
|
//$counter=0; |
src/Networks/WebGains.php 1 location
|
@@ 165-170 (lines=6) @@
|
| 162 |
|
*/ |
| 163 |
|
public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
| 164 |
|
{ |
| 165 |
|
if (count( $arrMerchantID ) < 1) { |
| 166 |
|
$merchants = $this->getMerchants(); |
| 167 |
|
foreach ($merchants as $merchant) { |
| 168 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 169 |
|
} |
| 170 |
|
} |
| 171 |
|
$arrResult = array(); |
| 172 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
| 173 |
|
foreach($transcationList as $transaction) { |
src/Networks/Effiliation.php 1 location
|
@@ 162-167 (lines=6) @@
|
| 159 |
|
{ |
| 160 |
|
$arrResult = array(); |
| 161 |
|
try { |
| 162 |
|
if (count( $arrMerchantID ) < 1) { |
| 163 |
|
$merchants = $this->getMerchants(); |
| 164 |
|
foreach ($merchants as $merchant) { |
| 165 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
| 166 |
|
} |
| 167 |
|
} |
| 168 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
| 169 |
|
|
| 170 |
|
foreach($transactionList as $transaction) { |