PHP. Руководство по PHP. 2005
DomNode->parent_node
HREF="function.domnode-owner-document.html"> HREF="function.domnode-prefix.html"> Пред.
DomNode->parent_node
(no version information, might be only in CVS)DomNode->parent_node -- Returns the parent of the node
Описание
domnode DomNode->parent_node (void)This function returns the parent node.
(PHP>= 4.3 only) If no parent is found, NULL is returned.
The following example will show two identical lists of children.
DomNode->owner_document
DomNode->prefix