X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fclass.pdf.inc;h=ab76ab46ed20fb3311ef59e971682608a97b64ae;hb=4a80bb6dd2a0821a4200e6b66d04930b270c5aff;hp=172c328a9896c547e712239b9bccaa93efe297d7;hpb=135fa36e58e67cf54681b896b3f60d7c3dce32d2;p=fa-stable.git diff --git a/reporting/includes/class.pdf.inc b/reporting/includes/class.pdf.inc index 172c328a..ab76ab46 100644 --- a/reporting/includes/class.pdf.inc +++ b/reporting/includes/class.pdf.inc @@ -63,9 +63,9 @@ include_once (dirname(__FILE__).'/fpdi/fpdi.php'); class Cpdf extends FPDI { - function Cpdf($pageSize='A4', $lang=null, $pageOrientation='P') + function __construct($pageSize='A4', $lang=null, $pageOrientation='P') { - $this->TCPDF($pageOrientation, 'pt', $pageSize);//, $uni, $enc); + parent::__construct($pageOrientation, 'pt', $pageSize);//, $uni, $enc); $this->SetLang($lang); $this->setPrintHeader(false); $this->setPrintFooter(false);