Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
37 righe
667 B
37 righe
667 B
<?php |
|
|
|
include_once (ROOT . "lib/api.php"); |
|
require_once (ROOT . "lib/modules/tcpdf/tcpdf.php"); |
|
|
|
class ModuloPdf extends TCPDF { |
|
|
|
//Page header |
|
public function Header() { |
|
|
|
} |
|
|
|
// Page footer |
|
public function Footer() { |
|
|
|
} |
|
|
|
} |
|
|
|
class PdfDomanda extends TCPDF { |
|
|
|
private $customFooterText = ""; |
|
|
|
//Page header |
|
public function Header() { |
|
} |
|
|
|
public function setCustomFooterText($customFooterText) { |
|
$this->customFooterText = $customFooterText; |
|
} |
|
|
|
// Page footer |
|
public function Footer() { |
|
$this->Cell(0, 10, $this->customFooterText, 0, false, 'C', 0, '', 0, false, 'T', 'M'); |
|
} |
|
|
|
}
|
|
|