You are here

class PrintTCPDF in Printer, email and PDF versions 7

Same name and namespace in other branches
  1. 5.4 print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  2. 5.4 print_pdf/print_pdf.class.inc \PrintTCPDF
  3. 5.3 print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  4. 5.3 print_pdf/print_pdf.class.inc \PrintTCPDF
  5. 6 print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  6. 6 print_pdf/print_pdf.class.inc \PrintTCPDF
  7. 7.2 print_pdf/lib_handlers/print_pdf_tcpdf/print_pdf_tcpdf.class.inc \PrintTCPDF
  8. 5.x print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  9. 5.x print_pdf/print_pdf.class.inc \PrintTCPDF

@file Extend the TCPDF class to be able to customize the Footer

This file is included by the _print_pdf_tcpdf function

Hierarchy

Expanded class hierarchy of PrintTCPDF

Related topics

File

print_pdf/print_pdf.class.inc, line 12
Extend the TCPDF class to be able to customize the Footer

View source
class PrintTCPDF extends TCPDF {
  public $footer;

  // Display invisible link at the bottom of all pages.
  public function setTcpdfLink($tcpdflink) {
    $this->tcpdflink = $tcpdflink;
  }

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

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

}

Members