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