protected static function getInnerHTML($node) {
		if(!$node)
			return null;
		$innerHTML= ''; 
		$children = $node->childNodes; 
		foreach ($children as $child)
			$innerHTML .= $child->ownerDocument->saveHTML($child);
		return $innerHTML; 
	}
protected static function getInnerHTML($node) {
		if(!$node)
			return null;
		$innerHTML= ''; 
		$children = $node->childNodes; 
		foreach ($children as $child)
			$innerHTML .= $child->ownerDocument->saveHTML($child);
		return $innerHTML; 
	}
protected static function getInnerHTML ( $ node ) { if ( ! $ node ) return null ; $ innerHTML = '' ; $ children = $ node -> childNodes ; foreach ( $ children as $ child ) $ innerHTML .= $ child -> ownerDocument -> saveHTML ( $ child ) ; return $ innerHTML ; }
Returns the inner html of a DOMNode object.

@param \DOMNode|null node

@return string HTML code
Returns the inner html of a DOMNode object .