Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
Tidy Functions
PHP Manual

tidyNode::getParent

(PHP 5 >= 5.2.2)

tidyNode::getParentreturns the parent node of the current node

Description

tidyNode tidyNode::getParent ( void )

Returns the parent node of the current node.

Return Values

Returns a tidyNode if the node has a parent, or NULL otherwise.


Tidy Functions
PHP Manual