protected function _loadDocument() {
		$this->_Document = new DOMDocument();

		$reporting = error_reporting(0);
		$loaded = $this->_Document->loadHTML($this->_html);
		error_reporting($reporting);

		if (!$loaded) {
			throw new Exception('Unable to load HTML document.');
		}
	}
protected function _loadDocument() {
		$this->_Document = new DOMDocument();

		$reporting = error_reporting(0);
		$loaded = $this->_Document->loadHTML($this->_html);
		error_reporting($reporting);

		if (!$loaded) {
			throw new Exception('Unable to load HTML document.');
		}
	}
protected function _loadDocument ( ) { $ this -> _Document = new DOMDocument ( ) ; $ reporting = error_reporting ( 0 ) ; $ loaded = $ this -> _Document -> loadHTML ( $ this -> _html ) ; error_reporting ( $ reporting ) ; if ( ! $ loaded ) { throw new Exception ( 'Unable to load HTML document.' ) ; } }
Builds a DOMDocument from the HTML source.
Builds a DOMDocument from the HTML source .