public function PdfTemplate::setDefaultPageTemplate in Views PDF 7.3
Same name and namespace in other branches
- 6 views_pdf_template.php \PdfTemplate::setDefaultPageTemplate()
- 7 views_pdf_template.php \PdfTemplate::setDefaultPageTemplate()
- 7.2 views_pdf_template.php \PdfTemplate::setDefaultPageTemplate()
File
- ./
views_pdf_template.php, line 147 - PDF Class to generate PDFs with native PHP. This class based on FPDF and FPDI.
Class
- PdfTemplate
- The main class to generate the PDF.
Code
public function setDefaultPageTemplate($path, $key, $pageNumbering = 'main') {
$this->defaultPageTemplateFiles[$key] = array(
'path' => $path,
'numbering' => $pageNumbering,
);
}