You are here

public function sOAuthRequest::to_url in jQuery social stream 7

Same name and namespace in other branches
  1. 7.2 jquery_social_stream.js.inc \sOAuthRequest::to_url()

builds a url usable for a GET request

1 call to sOAuthRequest::to_url()
sOAuthRequest::__toString in ./jquery_social_stream.js.inc

File

./jquery_social_stream.js.inc, line 730
JS callbacks.

Class

sOAuthRequest

Code

public function to_url() {
  $post_data = $this
    ->to_postdata();
  $out = $this
    ->get_normalized_http_url();
  if ($post_data) {
    $out .= '?' . $post_data;
  }
  return $out;
}