public function __construct($filename) { parent::__construct($filename); $pages = $this->resolveObject($this->_root[1][1]['/Pages']); $this->_readPages($pages, $this->_pages); $this->_pageCount = count($this->_pages); }
/** * The constructor. * * @param string $filename The source filename */ public function __construct($filename) { parent::__construct($filename); // resolve Pages-Dictonary $pages = $this->resolveObject($this->_root[1][1]['/Pages']); // Read pages $this->_readPages($pages, $this->_pages); // count pages; $this->_pageCount = count($this->_pages); }