original_string: 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 );
  	}
code: 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 );
  	}
code_tokens: 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 ) ; }
docstring: Create an HTML attribute string from an array.
  
  @param array $attributes
  @param bool  $merge_global
  @return string
docstring_tokens: Create an HTML attribute string from an array .