Fix TcPdf

This commit is contained in:
Michael RICOIS 2017-02-01 13:16:30 +01:00
parent 7dd700c160
commit cb9ff5f7b1

View File

@ -1,15 +1,13 @@
<?php
require_once 'Vendors/tcpdf/tcpdf.php';
class Scores_Pdf_Tcpdf extends TCPDF
{
protected $bgimage = null;
public function SetBackgroundImage($file)
{
$this->bgimage = $file;
}
/**
* (non-PHPdoc)
* @see TCPDF::Header()
@ -31,7 +29,7 @@ class Scores_Pdf_Tcpdf extends TCPDF
$this->setPageMark();
}
}
/**
* (non-PHPdoc)
* @see TCPDF::Footer()
@ -45,6 +43,6 @@ class Scores_Pdf_Tcpdf extends TCPDF
// Page number
$this->Cell(0, 10, 'Page '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 0, false, 'C', 0, '', 0, false, 'T', 'M');
}
}