function PDFTable($orientation='P',$unit='mm',$format='A4'){ parent::FPDF($orientation,$unit,$format); $this->SetMargins(20,20,20); $this->SetAuthor('Pham Minh Dung'); $this->_makePageSize(); $this->isNotYetSetFont = true; $this->headerTable = $this->footerTable = ''; }