You are here

function Net_URL::getURL in Flickr API 5

Returns full url

@access public

Return value

string Full url

File

phpFlickr/PEAR/Net/URL.php, line 209

Class

Net_URL

Code

function getURL() {
  $querystring = $this
    ->getQueryString();
  $this->url = $this->protocol . '://' . $this->user . (!empty($this->pass) ? ':' : '') . $this->pass . (!empty($this->user) ? '@' : '') . $this->host . ($this->port == $this
    ->getStandardPort($this->protocol) ? '' : ':' . $this->port) . $this->path . (!empty($querystring) ? '?' . $querystring : '') . (!empty($this->anchor) ? '#' . $this->anchor : '');
  return $this->url;
}