extranet/library/Scores/Pdf/Fpdi.php
Michael RICOIS 7b441166ec Composer
2017-01-16 15:09:23 +01:00

26 lines
444 B
PHP

<?php
class Scores_Pdf_Fpdi extends FPDI
{
/**
* "Remembers" the template id of the imported page
*/
var $_tplIdx;
/**
* Draw an imported PDF logo on every page
* @param string $template
*/
function Header()
{
if (is_null($this->_tplIdx)) {
$this->setSourceFile($template);
$this->_tplIdx = $this->importPage(1);
}
$this->useTemplate($this->_tplIdx);
}
function Footer()
{
// emtpy method body
}
}