You are here

class PrintTCPDF in Printer, email and PDF versions 6

Same name in this branch
  1. 6 print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  2. 6 print_pdf/print_pdf.class.inc \PrintTCPDF
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. 7.2 print_pdf/lib_handlers/print_pdf_tcpdf/print_pdf_tcpdf.class.inc \PrintTCPDF
  6. 7 print_pdf/print_pdf.class.inc \PrintTCPDF
  7. 5.x print_pdf/print_pdf.class_php4.inc \PrintTCPDF
  8. 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', $this);
  }

}

Members