src/Alg/HtmlParser.php
public function hasTagById( $id )
	{
		$xpath	= new DomXPath( $this->document );
		$query	= "//*[@id = '$id']";
		$nodes	= $xpath->query( $query );
		return (bool) $nodes->length;
	}
public function hasTagById( $id )
	{
		$xpath	= new DomXPath( $this->document );
		$query	= "//*[@id = '$id']";
		$nodes	= $xpath->query( $query );
		return (bool) $nodes->length;
	}
public function hasTagById ( $ id ) { $ xpath = new DomXPath ( $ this -> document ) ; $ query = "//*[@id = '$id']" ; $ nodes = $ xpath -> query ( $ query ) ; return ( bool ) $ nodes -> length ; }
Indicates whether a  HTML Tag is existing by its ID.
@access		public
@param		string			$id					ID of Tag to return
@return		bool
Indicates whether a HTML Tag is existing by its ID .