コード例 #1
0
 /**
  * Completes the Index Queue page indexer request and returns the response
  * with the collected results.
  *
  * @return	void
  */
 public function shutdown()
 {
     $this->dispatcher->shutdown();
     // make sure that no other output messes up the data
     ob_end_clean();
     $this->response->sendHeaders();
     echo $this->response->getContent();
     // exit since we don't want anymore output
     exit;
 }
コード例 #2
0
ファイル: Abstract.php プロジェクト: romaincanon/ext-solr
 /**
  * Deactivates a frontend helper by unregistering from hooks and releasing
  * resources.
  */
 public function deactivate()
 {
     $this->response->addActionResult($this->action, $this->getData());
 }