You are here

print_pdf.class.inc in Printer, email and PDF versions 5.4

Extend the TCPDF class to be able to customize the Footer

This file is included by the _print_pdf_tcpdf function

File

print_pdf/print_pdf.class.inc
View source
<?php

/**
 * @file
 * Extend the TCPDF class to be able to customize the Footer
 *
 * This file is included by the _print_pdf_tcpdf function
 *
 * @ingroup print
 */
class PrintTCPDF extends TCPDF {
  public $footer;

  //Page footer data
  public function SetFooterData($arg = '') {
    $this->footer = $arg;
  }

  //Page footer
  public function Footer() {
    theme('print_pdf_tcpdf_footer2', $this);
  }

}

Related topics

Classes

Namesort descending Description
PrintTCPDF @file Extend the TCPDF class to be able to customize the Footer