PDFTemplate.php
36 * $response->setFile(new MemoryDocument($template->output($downloadfile, 'S'), 'application/pdf', true, $downloadfile));
79 * @param $data An optional data object, that will passed to the PDFPage::render method (default: _null_)
PDFTemplate is used to output pdf files based on a given pdf template.
Definition: PDFTemplate.php:42
PDFPage instances define the content of a pdf page by using a set of FPDF/FPDI commands inside the PD...
Definition: PDFPage.php:19
setPages($pages, $cycle=false, $data=null)
Set the PDFPage instances used to write the content to the template.
Definition: PDFTemplate.php:81