|
@@ 491-495 (lines=5) @@
|
| 488 |
|
$cards = []; |
| 489 |
|
|
| 490 |
|
$result = $query->execute(); |
| 491 |
|
while($row = $result->fetch()) { |
| 492 |
|
$row['etag'] = '"' . $row['etag'] . '"'; |
| 493 |
|
$row['carddata'] = $this->readBlob($row['carddata']); |
| 494 |
|
$cards[] = $row; |
| 495 |
|
} |
| 496 |
|
$result->closeCursor(); |
| 497 |
|
|
| 498 |
|
return $cards; |
|
@@ 562-566 (lines=5) @@
|
| 559 |
|
$query->setParameter('uri', $uris, IQueryBuilder::PARAM_STR_ARRAY); |
| 560 |
|
$result = $query->execute(); |
| 561 |
|
|
| 562 |
|
while ($row = $result->fetch()) { |
| 563 |
|
$row['etag'] = '"' . $row['etag'] . '"'; |
| 564 |
|
$row['carddata'] = $this->readBlob($row['carddata']); |
| 565 |
|
$cards[] = $row; |
| 566 |
|
} |
| 567 |
|
$result->closeCursor(); |
| 568 |
|
} |
| 569 |
|
return $cards; |