Suply a getter for the node parent.
This commit is contained in:
parent
040a3fbd8a
commit
56ce743994
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ abstract class DokuWikiNode
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return DokuWikiNameSpace
|
||||||
|
*/
|
||||||
|
public function getParent() {
|
||||||
|
return $this->parent;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $filename
|
* @param $filename
|
||||||
* @param null $parent
|
* @param null $parent
|
||||||
|
|
Reference in a new issue