function OAuthRequest::__construct in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthRequest::__construct()
- 6 OAuth.php \OAuthRequest::__construct()
File
- lib/
OAuth.php, line 258 - OAuth 1.0 server and client library.
Class
Code
function __construct($http_method, $http_url, $parameters = NULL) {
$parameters = $parameters ? $parameters : array();
$parameters = array_merge(OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
$this->parameters = $parameters;
$this->http_method = $http_method;
$this->http_url = $http_url;
}