Example #1
0
 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);
 }
Example #2
0
 /**
  * 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);
 }