original_string: private function _buildQueryUrl($url, $query)
      {
          $url .= (strstr($url, '?') === false) ? '?' : '&';
          $url .= $query;
          return $url;
      }
code: private function _buildQueryUrl($url, $query)
      {
          $url .= (strstr($url, '?') === false) ? '?' : '&';
          $url .= $query;
          return $url;
      }
code_tokens: private function _buildQueryUrl ( $ url , $ query ) { $ url .= ( strstr ( $ url , '?' ) === false ) ? '?' : '&' ; $ url .= $ query ; return $ url ; }
docstring: This method is used to append query parameters to an url. Since the url
  might already contain parameter it has to be detected and to build a proper
  URL
  
  @param string $url   base url to add the query params to
  @param string $query params in query form with & separated
  
  @return url with query params
docstring_tokens: This method is used to append query parameters to an url . Since the url might already contain parameter it has to be detected and to build a proper URL