eZ/Publish/API/Repository/Tests/SearchServiceLocationTest.php 1 location
|
@@ 1216-1224 (lines=9) @@
|
| 1213 |
|
* |
| 1214 |
|
* @return string |
| 1215 |
|
*/ |
| 1216 |
|
protected function printResult(SearchResult $result) |
| 1217 |
|
{ |
| 1218 |
|
$printed = ''; |
| 1219 |
|
foreach ($result->searchHits as $hit) { |
| 1220 |
|
$printed .= sprintf(" - %s (%s)\n", $hit->valueObject['title'], $hit->valueObject['id']); |
| 1221 |
|
} |
| 1222 |
|
|
| 1223 |
|
return $printed; |
| 1224 |
|
} |
| 1225 |
|
|
| 1226 |
|
/** |
| 1227 |
|
* Simplify search result. |
eZ/Publish/API/Repository/Tests/SearchServiceTest.php 1 location
|
@@ 4560-4568 (lines=9) @@
|
| 4557 |
|
* |
| 4558 |
|
* @return string |
| 4559 |
|
*/ |
| 4560 |
|
protected function printResult(SearchResult $result) |
| 4561 |
|
{ |
| 4562 |
|
$printed = ''; |
| 4563 |
|
foreach ($result->searchHits as $hit) { |
| 4564 |
|
$printed .= sprintf(" - %s (%s)\n", $hit->valueObject['title'], $hit->valueObject['id']); |
| 4565 |
|
} |
| 4566 |
|
|
| 4567 |
|
return $printed; |
| 4568 |
|
} |
| 4569 |
|
|
| 4570 |
|
/** |
| 4571 |
|
* Simplify search result. |