public function registerHTML($id, $html, $linear = 'yes', array $properties = []){
		$dom = $this->parser->parseFromString($html);
		if( $dom ){
			if( !isset($this->doms[$id]) ){
				$this->opf->addIdref($id.'.xhtml', $linear, $properties);
			}
			$this->doms[$id] = $dom;
			return $dom;
		}
		return false;
	}
public function registerHTML($id, $html, $linear = 'yes', array $properties = []){
		$dom = $this->parser->parseFromString($html);
		if( $dom ){
			if( !isset($this->doms[$id]) ){
				$this->opf->addIdref($id.'.xhtml', $linear, $properties);
			}
			$this->doms[$id] = $dom;
			return $dom;
		}
		return false;
	}
public function registerHTML ( $ id , $ html , $ linear = 'yes' , array $ properties = [ ] ) { $ dom = $ this -> parser -> parseFromString ( $ html ) ; if ( $ dom ) { if ( ! isset ( $ this -> doms [ $ id ] ) ) { $ this -> opf -> addIdref ( $ id . '.xhtml' , $ linear , $ properties ) ; } $ this -> doms [ $ id ] = $ dom ; return $ dom ; } return false ; }
Register HTML string

@param string $id
@param string $html
@param string $linear
@param array $properties
@return false|\DOMDocument
Register HTML string