Horde_Xml_Element::setDom PHP Méthode

setDom() public méthode

Take a DOMElement object, which may be originally from a call to getDom() or may be custom created, and use it as the DOM tree for this Horde_Xml_Element.
public setDom ( DOMElement $element )
$element DOMElement
    public function setDom(DOMElement $element)
    {
        $this->_element = $this->_element->ownerDocument->importNode($element, true);
    }