src/Alg/HtmlParser.php
public function parseHtml( $string )
	{
		$this->document = new DOMDocument();
		ob_start();
		$this->document->loadHTML( $string );
		$content	= ob_get_clean();
		if( $content )
			$this->errors	= $content;
	}
public function parseHtml( $string )
	{
		$this->document = new DOMDocument();
		ob_start();
		$this->document->loadHTML( $string );
		$content	= ob_get_clean();
		if( $content )
			$this->errors	= $content;
	}
public function parseHtml ( $ string ) { $ this -> document = new DOMDocument ( ) ; ob_start ( ) ; $ this -> document -> loadHTML ( $ string ) ; $ content = ob_get_clean ( ) ; if ( $ content ) $ this -> errors = $ content ; }
Creates DOM Document and reads HTML String.
@access		public
@param		string			$string				HTML String
@return		void
Creates DOM Document and reads HTML String .