예제 #1
0
 /**
  * Constructor for Tx_Solr_IndexQueue_PageIndexerRequestHandler.
  *
  * Initializes request, response, and dispatcher.
  *
  */
 public function __construct()
 {
     $this->dispatcher = t3lib_div::makeInstance('Tx_Solr_IndexQueue_FrontendHelper_Dispatcher');
     $this->request = t3lib_div::makeInstance('Tx_Solr_IndexQueue_PageIndexerRequest', $_SERVER['HTTP_X_TX_SOLR_IQ']);
     $this->response = t3lib_div::makeInstance('Tx_Solr_IndexQueue_PageIndexerResponse');
     $this->response->setRequestId($this->request->getRequestId());
 }
예제 #2
0
 /**
  * Constructor for Tx_Solr_IndexQueue_PageIndexerRequestHandler.
  *
  * Initializes request, response, and dispatcher.
  *
  */
 public function __construct()
 {
     $this->dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Solr_IndexQueue_FrontendHelper_Dispatcher');
     $this->request = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Solr_IndexQueue_PageIndexerRequest', $_SERVER['HTTP_X_TX_SOLR_IQ']);
     $this->response = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Solr_IndexQueue_PageIndexerResponse');
     $this->response->setRequestId($this->request->getRequestId());
 }