public function setQueryVariable($name, $value)
    {
        $array = $this->getQueryVariables();
        $array[$name] = $value;
        $this->setQueryVariables($array);
        return $this;
    }
public function setQueryVariable($name, $value)
    {
        $array = $this->getQueryVariables();
        $array[$name] = $value;
        $this->setQueryVariables($array);
        return $this;
    }
public function setQueryVariable ( $ name , $ value ) { $ array = $ this -> getQueryVariables ( ) ; $ array [ $ name ] = $ value ; $ this -> setQueryVariables ( $ array ) ; return $ this ; }
Sets the specified variable in the query string.

@param string $name  variable name
@param mixed  $value variable value

@return $this
Sets the specified variable in the query string .