Lines Matching defs:searchresults
234 * @param array $searchresults
237 private function printJSON(array $searchresults): void
240 echo json_encode($searchresults, JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT);
246 * @param array $searchresults
249 private function printHTML(array $searchresults, bool $showMedia = true): void
251 $pages = (array)($searchresults ['pages']);
252 $media = (array)$searchresults ['media'];
253 $lat = (float)$searchresults ['lat'];
254 $lon = (float)$searchresults ['lon'];
255 $geohash = (string)$searchresults ['geohash'];
257 if (isset($searchresults ['error'])) {
258 echo '<div class="level1"><p>' . hsc($searchresults ['error']) . '</p></div>';
309 echo '<p>' . $this->getLang('results_precision') . $searchresults ['precision'] . ' m. ';