root / drupal7 / sites / all / modules / print / print_pdf / print_pdf.class.inc @ 74f6bef0
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* @file |
5 |
* Extend the TCPDF class to be able to customize the Footer |
6 |
* |
7 |
* This file is included by the _print_pdf_tcpdf function |
8 |
* |
9 |
* @ingroup print |
10 |
*/ |
11 |
|
12 |
class PrintTCPDF extends TCPDF { |
13 |
public $footer; |
14 |
|
15 |
// Page footer data |
16 |
public function SetFooterData($arg = '') { |
17 |
$this->footer = $arg; |
18 |
} |
19 |
|
20 |
// Page footer |
21 |
public function Footer() { |
22 |
theme('print_pdf_tcpdf_footer2', array('pdf' => $this)); |
23 |
} |
24 |
} |