final public function importHTML($html)
	{
		$tmp_doc = new \DOMDocument('1.0', 'UTF-8');
		$tmp_doc->loadHTML($html);
		$nodes = array();
		foreach ($tmp_doc->documentElement->childNodes as $node) {
			array_push($nodes, $node);
			$this->appendChild($this->ownerDocument->importNode($node, true));
		}
		return $nodes;
	}
final public function importHTML($html)
	{
		$tmp_doc = new \DOMDocument('1.0', 'UTF-8');
		$tmp_doc->loadHTML($html);
		$nodes = array();
		foreach ($tmp_doc->documentElement->childNodes as $node) {
			array_push($nodes, $node);
			$this->appendChild($this->ownerDocument->importNode($node, true));
		}
		return $nodes;
	}
final public function importHTML ( $ html ) { $ tmp_doc = new \ DOMDocument ( '1.0' , 'UTF-8' ) ; $ tmp_doc -> loadHTML ( $ html ) ; $ nodes = array ( ) ; foreach ( $ tmp_doc -> documentElement -> childNodes as $ node ) { array_push ( $ nodes , $ node ) ; $ this -> appendChild ( $ this -> ownerDocument -> importNode ( $ node , true ) ) ; } return $ nodes ; }
Import HTML into a DOMElement

@param  string $html A string of HTML
@return void
Import HTML into a DOMElement