/** * 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; }
/** * Deactivates a frontend helper by unregistering from hooks and releasing * resources. */ public function deactivate() { $this->response->addActionResult($this->action, $this->getData()); }