You are here

function sOAuthRequest::__construct in jQuery social stream 7

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

File

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

Class

sOAuthRequest

Code

function __construct($http_method, $http_url, $parameters = NULL) {
  @$parameters or $parameters = array();
  $parameters = array_merge(sOAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
  $this->parameters = $parameters;
  $this->http_method = $http_method;
  $this->http_url = $http_url;
}