/** * fetchPdf - fetch rendered document as a string * * @param Response $response \Xoops\Core\Service\Response object * * @return void - response->value set to string containing document */ public function fetchPdf($response) { $this->initPdf(); $this->pdfEngine->lastPage(); $response->seValue($this->pdfEngine->Output('', 'S')); }