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 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateTo, $dateFrom); |
174 |
|
foreach($transcationList as $transaction) { |
175 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/NetAffiliation.php 1 location
|
@@ 161-166 (lines=6) @@
|
158 |
|
return array(); |
159 |
|
} |
160 |
|
$arrResult = array(); |
161 |
|
if (count( $arrMerchantID ) < 1) { |
162 |
|
$merchants = $this->getMerchants(); |
163 |
|
foreach ($merchants as $merchant) { |
164 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
165 |
|
} |
166 |
|
} |
167 |
|
|
168 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
169 |
|
foreach($transcationList as $transaction) { |
src/Networks/TradeDoubler.php 1 location
|
@@ 157-162 (lines=6) @@
|
154 |
|
return array(); |
155 |
|
} |
156 |
|
$arrResult = array(); |
157 |
|
if (count( $arrMerchantID ) < 1) { |
158 |
|
$merchants = $this->getMerchants(); |
159 |
|
foreach ($merchants as $merchant) { |
160 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
161 |
|
} |
162 |
|
} |
163 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
164 |
|
foreach($transcationList as $transaction) { |
165 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/WebGains.php 1 location
|
@@ 135-140 (lines=6) @@
|
132 |
|
*/ |
133 |
|
public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array |
134 |
|
{ |
135 |
|
if (count( $arrMerchantID ) < 1) { |
136 |
|
$merchants = $this->getMerchants(); |
137 |
|
foreach ($merchants as $merchant) { |
138 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
139 |
|
} |
140 |
|
} |
141 |
|
$arrResult = array(); |
142 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
143 |
|
foreach($transcationList as $transaction) { |
src/Networks/Zanox.php 1 location
|
@@ 199-204 (lines=6) @@
|
196 |
|
} |
197 |
|
|
198 |
|
$arrResult = array(); |
199 |
|
if (count( $arrMerchantID ) < 1) { |
200 |
|
$merchants = $this->getMerchants(); |
201 |
|
foreach ($merchants as $merchant) { |
202 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
203 |
|
} |
204 |
|
} |
205 |
|
$transcationList = $this->_network->getTransactionList( $arrMerchantID, $dateFrom2, $dateTo ); |
206 |
|
foreach ($transcationList as $transaction) { |
207 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/CommissionJunction.php 1 location
|
@@ 164-169 (lines=6) @@
|
161 |
|
public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()): array |
162 |
|
{ |
163 |
|
$arrResult = array(); |
164 |
|
if (count( $arrMerchantID ) < 1) { |
165 |
|
$merchants = $this->getMerchants(); |
166 |
|
foreach ($merchants as $merchant) { |
167 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
168 |
|
} |
169 |
|
} |
170 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom,$dateTo); |
171 |
|
//echo "<br>merchants id array<br>".print_r($arrMerchantID); |
172 |
|
//$counter=0; |
src/Networks/Effiliation.php 1 location
|
@@ 131-136 (lines=6) @@
|
128 |
|
{ |
129 |
|
$arrResult = array(); |
130 |
|
try { |
131 |
|
if (count( $arrMerchantID ) < 1) { |
132 |
|
$merchants = $this->getMerchants(); |
133 |
|
foreach ($merchants as $merchant) { |
134 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
135 |
|
} |
136 |
|
} |
137 |
|
$transcationList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
138 |
|
|
139 |
|
foreach($transcationList as $transaction) { |