Habari\HTMLNode::append_html PHP Метод

append_html() публичный Метод

Append HTML as a child of this node
public append_html ( string $html )
$html string The HTML to add, which is subsequently parsed into DOMNodes
    function append_html($html)
    {
        $frag = $this->node->ownerDocument->createDocumentFragment();
        $frag->appendXML($html);
        $this->node->appendChild($frag);
    }