library/Curl.php
public function setQuery($sQuery = null)
    {
        if (is_null($sQuery)) {
            $sQuery = "";
            if ($aParams = $this->getParameters()) {
                $aParams = $this->_prepareQueryParameters($aParams);
                $sQuery = http_build_query($aParams, "", "&");
            }
        }

        $this->_sQuery = $sQuery;
    }
public function setQuery($sQuery = null)
    {
        if (is_null($sQuery)) {
            $sQuery = "";
            if ($aParams = $this->getParameters()) {
                $aParams = $this->_prepareQueryParameters($aParams);
                $sQuery = http_build_query($aParams, "", "&");
            }
        }

        $this->_sQuery = $sQuery;
    }
public function setQuery ( $ sQuery = null ) { if ( is_null ( $ sQuery ) ) { $ sQuery = "" ; if ( $ aParams = $ this -> getParameters ( ) ) { $ aParams = $ this -> _prepareQueryParameters ( $ aParams ) ; $ sQuery = http_build_query ( $ aParams , "" , "&" ) ; } } $ this -> _sQuery = $ sQuery ; }
Set query like "param1=value1&param2=values2.."

@param null $sQuery
Set query like param1 = value1&param2 = values2 ..