src/wcmf/lib/util/DOMUtils.php
public static function getInnerHtml(\DOMElement $element) {
    $innerHTML= '';
    $children = $element->childNodes;
    foreach ($children as $child) {
      $innerHTML .= $child->ownerDocument->saveXML( $child );
    }
    return $innerHTML;
  }
public static function getInnerHtml(\DOMElement $element) {
    $innerHTML= '';
    $children = $element->childNodes;
    foreach ($children as $child) {
      $innerHTML .= $child->ownerDocument->saveXML( $child );
    }
    return $innerHTML;
  }
public static function getInnerHtml ( \ DOMElement $ element ) { $ innerHTML = '' ; $ children = $ element -> childNodes ; foreach ( $ children as $ child ) { $ innerHTML .= $ child -> ownerDocument -> saveXML ( $ child ) ; } return $ innerHTML ; }
Get the inner html string of an element
@param \DOMElement $element
@return String
Get the inner html string of an element