Ejemplo n.º 1
0
 /**
  * Get progress on the current search operation.
  *
  * @return float
  */
 protected function getSearchProgress()
 {
     $statResponse = $this->connector->stat();
     return (double) $statResponse->progress;
 }
Ejemplo n.º 2
0
 /**
  * Create the Pazpar2 connector.
  *
  * @return Connector
  */
 protected function createConnector()
 {
     $connector = new Connector($this->config->General->base_url, $this->serviceLocator->get('VuFind\\Http')->createClient());
     $connector->setLogger($this->logger);
     return $connector;
 }