src/Alg/HtmlParser.php
public function getTagsByTagName( $tagName )
	{
		$list	= array();
		$nodes	= $this->document->getElementsByTagName( $tagName );
		foreach( $nodes as $node )
			$list[]	= $node;
		return $list;
	}
public function getTagsByTagName( $tagName )
	{
		$list	= array();
		$nodes	= $this->document->getElementsByTagName( $tagName );
		foreach( $nodes as $node )
			$list[]	= $node;
		return $list;
	}
public function getTagsByTagName ( $ tagName ) { $ list = array ( ) ; $ nodes = $ this -> document -> getElementsByTagName ( $ tagName ) ; foreach ( $ nodes as $ node ) $ list [ ] = $ node ; return $ list ; }
Returns List of HTML Tags by Tag Name.
@access		public
@param		string			$tagName			Tag Name of Tags to return
@return		array
Returns List of HTML Tags by Tag Name .