parentXML; } /** * Sets parent object of the XML branch * @method setParentXML * @param object xml * @returns true if successful, false otherwise */ function setParentXML(&$xml) { $success = false; if(strtolower(get_class($xml)) == "xml" || strtolower(get_class($xml)) == "xmlbranch") { $this->parentXML = &$xml; $success = true; } return $success; } } ?>