ast = $ast; $this->path = $path; $this->node = $node; } /** * Set the calling vaisitor * * Pass the visitor which called the rendering function on the directive * for optional reference. * * @param ezcDocumentWikiVisitor $visitor * @return void */ public function setSourceVisitor( ezcDocumentWikiVisitor $visitor ) { $this->visitor = $visitor; } /** * Transform directive to docbook * * Create a docbook XML structure at the directives position in the * document. * * @param DOMDocument $document * @param DOMElement $root * @return void */ abstract public function toDocbook( DOMDocument $document, DOMElement $root ); } ?>