public function getInnerHtml()
    {
        $html = '';
        if ($content_node = $this->getFirstElmNode()) {
            $document = $content_node->ownerDocument;

            foreach ($content_node->childNodes as $node) {
                if ($this->xml_mode) {
                    $html .= $document->saveXML($node);
                } else {
                    $html .= $document->saveHTML($node);
                }
            }

            $html = $this->handleHtmlResult($html);
        }

        return $html;
    }
public function getInnerHtml()
    {
        $html = '';
        if ($content_node = $this->getFirstElmNode()) {
            $document = $content_node->ownerDocument;

            foreach ($content_node->childNodes as $node) {
                if ($this->xml_mode) {
                    $html .= $document->saveXML($node);
                } else {
                    $html .= $document->saveHTML($node);
                }
            }

            $html = $this->handleHtmlResult($html);
        }

        return $html;
    }
public function getInnerHtml ( ) { $ html = '' ; if ( $ content_node = $ this -> getFirstElmNode ( ) ) { $ document = $ content_node -> ownerDocument ; foreach ( $ content_node -> childNodes as $ node ) { if ( $ this -> xml_mode ) { $ html .= $ document -> saveXML ( $ node ) ; } else { $ html .= $ document -> saveHTML ( $ node ) ; } } $ html = $ this -> handleHtmlResult ( $ html ) ; } return $ html ; }
Get the HTML contents of the first element in the set of matched elements.

@return string
Get the HTML contents of the first element in the set of matched elements .