![]() |
fpdf custom header - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: fpdf custom header (/showthread.php?tid=76302) |
fpdf custom header - pippuccio76 - 05-01-2020 hi , sorry for english , i want extend fdpf , i create in library a new file : PHP Code: <?php in my controller i call the library : PHP Code: $this->load->library('PDF_print_a4'); but i have this error : Too few arguments to function PDF_print_a4::__construct(), 0 passed Why ? RE: fpdf custom header - rmilecki - 05-02-2020 (05-01-2020, 09:24 AM)pippuccio76 Wrote:FWIW this constructor doesn't make sense. If 4th argument is mandatory, there is no point in specifying default values for arguments 1-3. You have to pass them anyway. |