diff --git a/reference/tidy/functions/tidynode-getparent.xml b/reference/tidy/functions/tidynode-getparent.xml new file mode 100644 index 0000000000..340b3ae201 --- /dev/null +++ b/reference/tidy/functions/tidynode-getparent.xml @@ -0,0 +1,49 @@ + + + + + tidyNode::getParent + returns the parent node of the current node + + + + &reftitle.description; + + tidyNodetidyNode::getParent + + + + Returns the parent node of the current node. + + + + + &reftitle.returnvalues; + + Returns a tidyNode if the node has a parent, or &null; + otherwise. + + + + + + diff --git a/reference/tidy/reference.xml b/reference/tidy/reference.xml index aefda76f6d..a7cfe2685d 100644 --- a/reference/tidy/reference.xml +++ b/reference/tidy/reference.xml @@ -1,5 +1,5 @@ - + @@ -42,7 +42,10 @@ &reftitle.methods; - - Returns &true; if the current node has childrens + - Returns the parent of the current node + + + - Returns &true; if the current node has children - Returns &true; if the current node has siblings