src/Alg/HtmlParser.php
public function getAttributesFromElement( $element )
	{
		$list	= array();
		foreach( $element->attributes as $key => $value )
			$list[$key]	= $value->textContent;
		return $list;
	}
public function getAttributesFromElement( $element )
	{
		$list	= array();
		foreach( $element->attributes as $key => $value )
			$list[$key]	= $value->textContent;
		return $list;
	}
public function getAttributesFromElement ( $ element ) { $ list = array ( ) ; foreach ( $ element -> attributes as $ key => $ value ) $ list [ $ key ] = $ value -> textContent ; return $ list ; }
Returns List of Attributes from a DOM Element.
@access		public
@param		DOMElement		$element			DOM Element
@return		list
Returns List of Attributes from a DOM Element .