Add some getters to retrieve the nodes, so we can do stuff with em.

Ticket T6
This commit is contained in:
Tim Schumacher 2013-11-26 21:32:48 +01:00
parent ad94faf334
commit 25be870949

View file

@ -172,6 +172,10 @@ class DokuWikiNameSpace extends DokuWikiNode {
return $retval; return $retval;
} }
public function getNodes() {
return $this->nodes;
}
} }
/** /**
@ -250,4 +254,8 @@ class DokuWikiIterator {
public function toString () { public function toString () {
return $this->root->toString(); return $this->root->toString();
} }
public function getRoot() {
return $this->root;
}
} }