Fix TcPdf
This commit is contained in:
parent
7dd700c160
commit
cb9ff5f7b1
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user