protected function buildQueryString(array $params)
    {
        $qs = "";
        foreach ($params as $key => $value) {
            if ($qs === "") {
                $qs = "?";
            } else {
                $qs .= "&&";
            }
            $qs .= $key . "=" . $value;
        }
        return $qs;
    }
protected function buildQueryString(array $params)
    {
        $qs = "";
        foreach ($params as $key => $value) {
            if ($qs === "") {
                $qs = "?";
            } else {
                $qs .= "&&";
            }
            $qs .= $key . "=" . $value;
        }
        return $qs;
    }
protected function buildQueryString ( array $ params ) { $ qs = "" ; foreach ( $ params as $ key => $ value ) { if ( $ qs === "" ) { $ qs = "?" ; } else { $ qs .= "&&" ; } $ qs .= $ key . "=" . $ value ; } return $ qs ; }
build the query string

@param array $params query string parameters

@return string
build the query string