Exemple #1
0
 public function accept(IdmlVisitor $visitor, $depth = 0)
 {
     $visitor->visitAssembler($this, $depth);
     for ($i = 0; $i < count($this->idmlPackages); $i++) {
         $this->currentIDMLPackageIndex = $i;
         // this is needed by getCurrentPackage()
         $this->idmlPackages[$i]->accept($visitor, $depth + 1);
     }
     // Replace hyperlink hrefs
     $visitor->fixHyperlinkPageNames($this->processor->epub);
     $visitor->visitAssemblerEnd($this, $depth);
 }