original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Register HTML string
  
  @param string $id
  @param string $html
  @param string $linear
  @param array $properties
  @return false|\DOMDocument
docstring_tokens: Register HTML string