public static function appendParamsUrl($baseUrl, $params)
    {
        foreach ($params as $key => &$value) {
            if (is_bool($value)) {
                $value = self::getBoolString($value);
            }
        }

        return $baseUrl . '?' . http_build_query($params);
    }
public static function appendParamsUrl($baseUrl, $params)
    {
        foreach ($params as $key => &$value) {
            if (is_bool($value)) {
                $value = self::getBoolString($value);
            }
        }

        return $baseUrl . '?' . http_build_query($params);
    }
public static function appendParamsUrl ( $ baseUrl , $ params ) { foreach ( $ params as $ key => & $ value ) { if ( is_bool ( $ value ) ) { $ value = self :: getBoolString ( $ value ) ; } } return $ baseUrl . '?' . http_build_query ( $ params ) ; }
Append parameters to a URL

Parameter values will be URL-encoded

@param string $baseUrl - base URL
@param array  $params  - an array of parameters

@return string - the assembled URL
Append parameters to a URL