You are here

public function OAuthRequest::to_url in OAuth 1.0 6

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthRequest::to_url()
  2. 7.3 lib/OAuth.php \OAuthRequest::to_url()

builds a url usable for a GET request

1 call to OAuthRequest::to_url()
OAuthRequest::__toString in ./OAuth.php

File

./OAuth.php, line 338

Class

OAuthRequest

Code

public function to_url() {

  /*{{{*/
  $out = $this
    ->get_normalized_http_url() . "?";
  $out .= $this
    ->to_postdata();
  return $out;
}