parent() public method

returns the parent of node
public parent ( )
 /**
  * @param simple_html_dom_node $node
  *
  * @return simple_html_dom_node
  */
 public function appendChild(simple_html_dom_node $node)
 {
     $node->parent($this);
     return $node;
 }