You are here

public function PdfTemplate::setViewsHeaderFooter in Views PDF 7.3

File

./views_pdf_template.php, line 156
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 setViewsHeaderFooter($display) {
  $this->display = $display;
  $this->y_header = $display
    ->get_option('header_margin');
  $this
    ->SetY(-($this->bMargin - $display
    ->get_option('footer_spacing')));
  $this->y_footer = $this->y;
}