original_string: public static function getQueryStringFromParameters($parameters)
      {
          $query = '';
          foreach ($parameters as $name => $value) {
              if (is_null($value) || $value === false) {
                  continue;
              }
              if (is_array($value)) {
                  foreach ($value as $theValue) {
                      $query .= $name . "[]=" . $theValue . "&";
                  }
              } else {
                  $query .= $name . "=" . $value . "&";
              }
          }
          $query = substr($query, 0, -1);
          return $query;
      }
code: public static function getQueryStringFromParameters($parameters)
      {
          $query = '';
          foreach ($parameters as $name => $value) {
              if (is_null($value) || $value === false) {
                  continue;
              }
              if (is_array($value)) {
                  foreach ($value as $theValue) {
                      $query .= $name . "[]=" . $theValue . "&";
                  }
              } else {
                  $query .= $name . "=" . $value . "&";
              }
          }
          $query = substr($query, 0, -1);
          return $query;
      }
code_tokens: public static function getQueryStringFromParameters ( $ parameters ) { $ query = '' ; foreach ( $ parameters as $ name => $ value ) { if ( is_null ( $ value ) || $ value === false ) { continue ; } if ( is_array ( $ value ) ) { foreach ( $ value as $ theValue ) { $ query .= $ name . "[]=" . $ theValue . "&" ; } } else { $ query .= $ name . "=" . $ value . "&" ; } } $ query = substr ( $ query , 0 , - 1 ) ; return $ query ; }
docstring: Converts an array of parameters name => value mappings to a query
  string. Values must already be URL encoded before you call this function.
  
  @param array $parameters eg. `array('param1' => 10, 'param2' => array(1,2))`
  @return string eg. `"param1=10&param2[]=1&param2[]=2"`
  @api
docstring_tokens: Converts an array of parameters name = > value mappings to a query string . Values must already be URL encoded before you call this function .