Commit 3cf80cd2 authored by Bas de Nooijer's avatar Bas de Nooijer

Merge branch 'develop' into feature/postbigrequest

parents 8b5862f4 37958ce7
...@@ -362,6 +362,16 @@ class Solarium_Client_Request extends Solarium_Configurable ...@@ -362,6 +362,16 @@ class Solarium_Client_Request extends Solarium_Configurable
* @return string * @return string
*/ */
public function getUri() public function getUri()
{
return $this->getHandler() . '?' . $this->getQueryString();
}
/**
* Get the query string for this request
*
* @return string
*/
public function getQueryString()
{ {
$queryString = ''; $queryString = '';
if (count($this->_params) > 0) { if (count($this->_params) > 0) {
...@@ -373,6 +383,6 @@ class Solarium_Client_Request extends Solarium_Configurable ...@@ -373,6 +383,6 @@ class Solarium_Client_Request extends Solarium_Configurable
); );
} }
return $this->getHandler() . '?' . $queryString; return $queryString;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment