Add some getters to retrieve the nodes, so we can do stuff with em.
Ticket T6
This commit is contained in:
parent
ad94faf334
commit
25be870949
1 changed files with 8 additions and 0 deletions
|
@ -172,6 +172,10 @@ class DokuWikiNameSpace extends DokuWikiNode {
|
|||
return $retval;
|
||||
}
|
||||
|
||||
public function getNodes() {
|
||||
return $this->nodes;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -250,4 +254,8 @@ class DokuWikiIterator {
|
|||
public function toString () {
|
||||
return $this->root->toString();
|
||||
}
|
||||
|
||||
public function getRoot() {
|
||||
return $this->root;
|
||||
}
|
||||
}
|
Reference in a new issue