app/code/community/Nexcessnet/Turpentine/Model/Dummy/Request.php
public function setQuery($spec, $value = null) {
        if ((null === $value) && ! is_array($spec)) {
            #require_once 'Zend/Controller/Exception.php';
            throw new Zend_Controller_Exception('Invalid value passed to setQuery(); must be either array of values or key/value pair');
        }
        if ((null === $value) && is_array($spec)) {
            foreach ($spec as $key => $value) {
                $this->setQuery($key, $value);
            }
            return $this;
        }
        $this->GET[(string) $spec] = $value;
        return $this;
    }
public function setQuery($spec, $value = null) {
        if ((null === $value) && ! is_array($spec)) {
            #require_once 'Zend/Controller/Exception.php';
            throw new Zend_Controller_Exception('Invalid value passed to setQuery(); must be either array of values or key/value pair');
        }
        if ((null === $value) && is_array($spec)) {
            foreach ($spec as $key => $value) {
                $this->setQuery($key, $value);
            }
            return $this;
        }
        $this->GET[(string) $spec] = $value;
        return $this;
    }
public function setQuery ( $ spec , $ value = null ) { if ( ( null === $ value ) && ! is_array ( $ spec ) ) { #require_once 'Zend/Controller/Exception.php'; throw new Zend_Controller_Exception ( 'Invalid value passed to setQuery(); must be either array of values or key/value pair' ) ; } if ( ( null === $ value ) && is_array ( $ spec ) ) { foreach ( $ spec as $ key => $ value ) { $ this -> setQuery ( $ key , $ value ) ; } return $ this ; } $ this -> GET [ ( string ) $ spec ] = $ value ; return $ this ; }
Set GET values

@param  string|array $spec
@param  null|mixed $value
@return Zend_Controller_Request_Http
Set GET values