original_string: protected function _generateIdFromHeaderValue($headerValue) {		
  		if (!is_callable($this->header_id_func)) {
  			return "";
  		}
  
  		$idValue = call_user_func($this->header_id_func, $headerValue);
  		if (!$idValue) {
  			return "";
  		}
  
  		return ' id="' . $this->encodeAttribute($idValue) . '"';
  	}
code: protected function _generateIdFromHeaderValue($headerValue) {		
  		if (!is_callable($this->header_id_func)) {
  			return "";
  		}
  
  		$idValue = call_user_func($this->header_id_func, $headerValue);
  		if (!$idValue) {
  			return "";
  		}
  
  		return ' id="' . $this->encodeAttribute($idValue) . '"';
  	}
code_tokens: protected function _generateIdFromHeaderValue ( $ headerValue ) { if ( ! is_callable ( $ this -> header_id_func ) ) { return "" ; } $ idValue = call_user_func ( $ this -> header_id_func , $ headerValue ) ; if ( ! $ idValue ) { return "" ; } return ' id="' . $ this -> encodeAttribute ( $ idValue ) . '"' ; }
docstring: If a header_id_func property is set, we can use it to automatically
  generate an id attribute.
  
  This method returns a string in the form id="foo", or an empty string
  otherwise.
  @param  string $headerValue
  @return string
docstring_tokens: If a header_id_func property is set we can use it to automatically generate an id attribute .