Ejemplo n.º 1
0
 /**
  * Compiles a collection of status checks against each configured Solr server.
  *
  * @see typo3/sysext/reports/interfaces/tx_reports_StatusProvider::getStatus()
  */
 public function getStatus()
 {
     $reports = array();
     $this->connectionManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Solr_ConnectionManager');
     $solrConnections = $this->connectionManager->getAllConfigurations();
     foreach ($solrConnections as $solrConnection) {
         $reports[] = $this->getConnectionStatus($solrConnection);
     }
     return $reports;
 }
Ejemplo n.º 2
0
 /**
  * Compiles a collection of status checks against each configured Solr server.
  *
  * @see typo3/sysext/reports/interfaces/tx_reports_StatusProvider::getStatus()
  */
 public function getStatus()
 {
     $reports = array();
     $this->connectionManager = t3lib_div::makeInstance('Tx_Solr_ConnectionManager');
     $solrConnections = $this->connectionManager->getAllConfigurations();
     foreach ($solrConnections as $solrConnection) {
         $reports[] = $this->getConnectionStatus($solrConnection);
     }
     return $reports;
 }