* @param string $filename Source-Filename
* @param object $fpdi Object of type fpdi
*/
- function fpdi_pdf_parser($filename,&$fpdi) {
+ function __construct($filename,&$fpdi) {
$this->fpdi =& $fpdi;
$this->filename = $filename;
- parent::pdf_parser($filename);
+ parent::__construct($filename);
// resolve Pages-Dictonary
$pages = $this->pdf_resolve_object($this->c, $this->root[1][1]['/Pages']);