src/XML/Element.php
public function getAttributes( $nsPrefix = NULL )
	{
		$list	= array();
		foreach( $this->attributes( $nsPrefix, TRUE ) as $name => $value )
			$list[$name]	= (string) $value;
		return $list;
	}
public function getAttributes( $nsPrefix = NULL )
	{
		$list	= array();
		foreach( $this->attributes( $nsPrefix, TRUE ) as $name => $value )
			$list[$name]	= (string) $value;
		return $list;
	}
public function getAttributes ( $ nsPrefix = NULL ) { $ list = array ( ) ; foreach ( $ this -> attributes ( $ nsPrefix , TRUE ) as $ name => $ value ) $ list [ $ name ] = ( string ) $ value ; return $ list ; }
Returns map of attributes.
@access		public
@param		string		$nsPrefix	Namespace prefix of attributes
@return		array
Returns map of attributes .