|
@@ 1077-1082 (lines=6) @@
|
| 1074 |
|
$this->addNotNullFieldClause($qb, $notNullFields, $whereMode); |
| 1075 |
|
$theObjects = array(); |
| 1076 |
|
$result = $qb->execute(); |
| 1077 |
|
while ($myrow = $result->fetch(\PDO::FETCH_ASSOC)) { |
| 1078 |
|
$item = new PublisherItem(); |
| 1079 |
|
$item->assignVars($myrow); |
| 1080 |
|
$theObjects[$myrow['itemid']] = $item; |
| 1081 |
|
unset($item); |
| 1082 |
|
} |
| 1083 |
|
|
| 1084 |
|
/* @var $theObject PublisherItem */ |
| 1085 |
|
foreach ($theObjects as $theObject) { |
|
@@ 1562-1567 (lines=6) @@
|
| 1559 |
|
->joinPrefix('mo', 'publisher_items', 'mi', 'mi.datesub = mo.date'); |
| 1560 |
|
|
| 1561 |
|
$result = $qb->execute(); |
| 1562 |
|
while ($row = $result->fetch(\PDO::FETCH_ASSOC)) { |
| 1563 |
|
$item = new PublisherItem(); |
| 1564 |
|
$item->assignVars($row); |
| 1565 |
|
$ret[$row['categoryid']] = $item; |
| 1566 |
|
unset($item); |
| 1567 |
|
} |
| 1568 |
|
return $ret; |
| 1569 |
|
} |
| 1570 |
|
|