private function apiUrl($url = '', $format = 'json')
    {
        if (!$url) {
            return false;
        }

        $absUrl = sprintf('https://%s/pms/v%d/%s/%s', 
                          $this->apiBase,
                          $this->version,
                          $format,
                          $url);

        return (string) $absUrl;
    }
private function apiUrl($url = '', $format = 'json')
    {
        if (!$url) {
            return false;
        }

        $absUrl = sprintf('https://%s/pms/v%d/%s/%s', 
                          $this->apiBase,
                          $this->version,
                          $format,
                          $url);

        return (string) $absUrl;
    }
private function apiUrl ( $ url = '' , $ format = 'json' ) { if ( ! $ url ) { return false ; } $ absUrl = sprintf ( 'https://%s/pms/v%d/%s/%s' , $ this -> apiBase , $ this -> version , $ format , $ url ) ; return ( string ) $ absUrl ; }
Get the absolute URL for an API request.

@param string $url The API method endpoint.
@param string $format The request data format.

@return string The absolute API URL.
Get the absolute URL for an API request .