public function registerFromPath($id, $path){
		if( !file_exists($path) ){
			return false;
		}
		$dom = $this->parser->parseFromString(file_get_contents($path));
		if( $dom ){
			$this->doms[$id] = $dom;
		}
		return false;
	}
public function registerFromPath($id, $path){
		if( !file_exists($path) ){
			return false;
		}
		$dom = $this->parser->parseFromString(file_get_contents($path));
		if( $dom ){
			$this->doms[$id] = $dom;
		}
		return false;
	}
public function registerFromPath ( $ id , $ path ) { if ( ! file_exists ( $ path ) ) { return false ; } $ dom = $ this -> parser -> parseFromString ( file_get_contents ( $ path ) ) ; if ( $ dom ) { $ this -> doms [ $ id ] = $ dom ; } return false ; }
Register HTML from file path

@param string $id
@param string $path

@return bool
Register HTML from file path