Exemplo n.º 1
0
 /**
  * @return string
  */
 protected function getPageBrowserRange()
 {
     $label = '';
     $resultsFrom = $this->search->getResponseBody()->start + 1;
     $resultsTo = $resultsFrom + count($this->search->getResultDocumentsEscaped()) - 1;
     $resultsTotal = $this->search->getNumberOfResults();
     $label = strtr($this->parentPlugin->pi_getLL('results_range'), array('@resultsFrom' => $resultsFrom, '@resultsTo' => $resultsTo, '@resultsTotal' => $resultsTotal));
     return $label;
 }