private function buildUrl($query, $units, $lang, $appid, $mode, $url)
    {
        $queryUrl = $this->buildQueryUrlParameter($query);

        $url = $url."$queryUrl&units=$units&lang=$lang&mode=$mode&APPID=";
        $url .= empty($appid) ? $this->apiKey : $appid;

        return $url;
    }
private function buildUrl($query, $units, $lang, $appid, $mode, $url)
    {
        $queryUrl = $this->buildQueryUrlParameter($query);

        $url = $url."$queryUrl&units=$units&lang=$lang&mode=$mode&APPID=";
        $url .= empty($appid) ? $this->apiKey : $appid;

        return $url;
    }
private function buildUrl ( $ query , $ units , $ lang , $ appid , $ mode , $ url ) { $ queryUrl = $ this -> buildQueryUrlParameter ( $ query ) ; $ url = $ url . "$queryUrl&units=$units&lang=$lang&mode=$mode&APPID=" ; $ url .= empty ( $ appid ) ? $ this -> apiKey : $ appid ; return $ url ; }
Build the url to fetch weather data from.

@param        $query
@param        $units
@param        $lang
@param        $appid
@param        $mode
@param string $url   The url to prepend.

@return bool|string The fetched url, false on failure.
Build the url to fetch weather data from .