public function attributes( $attributes, $merge_global = false ) {
		if ( $merge_global && count( $this->global_attributes ) > 0 ) {
			$attributes = $attributes + $this->global_attributes;
		}

		return Utils::build_html_attributes( $attributes );
	}
public function attributes( $attributes, $merge_global = false ) {
		if ( $merge_global && count( $this->global_attributes ) > 0 ) {
			$attributes = $attributes + $this->global_attributes;
		}

		return Utils::build_html_attributes( $attributes );
	}
public function attributes ( $ attributes , $ merge_global = false ) { if ( $ merge_global && count ( $ this -> global_attributes ) > 0 ) { $ attributes = $ attributes + $ this -> global_attributes ; } return Utils :: build_html_attributes ( $ attributes ) ; }
Create an HTML attribute string from an array.

@param array $attributes
@param bool  $merge_global
@return string
Create an HTML attribute string from an array .