You are here

function PdfTemplate::Footer in Views PDF 7.2

Same name and namespace in other branches
  1. 6 views_pdf_template.php \PdfTemplate::Footer()
  2. 7.3 views_pdf_template.php \PdfTemplate::Footer()
  3. 7 views_pdf_template.php \PdfTemplate::Footer()

This method must be overriden, in the other case, some output is printed to the footer.

File

./views_pdf_template.php, line 165
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

function Footer() {
  $this
    ->SetY(-$this->bMargin);
  if (!empty($this->views_footer)) {
    $this
      ->writeHTML($this->views_footer);
  }
}