26 lines
444 B
PHP
Raw Normal View History

<?php
class Scores_Pdf_Fpdi extends FPDI
{
/**
* "Remembers" the template id of the imported page
*/
var $_tplIdx;
2017-01-16 15:09:23 +01:00
/**
* 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);
}
2017-01-16 15:09:23 +01:00
function Footer()
{
// emtpy method body
}
}