public function setGetParams($params)
    {
        // We consider the array is a GET array.
        if(!is_array($params)) {
            $params = explode('&', str_replace('?', '', $params));
        }

        $get = array();
        foreach($params as $varname => $varval) {
            if($varname == 'p') continue; // We don't want to specify the page twice!
            if(is_array($varval)) {
                foreach($varval as $subval) {
                    $get[] = "${varname}[]=$subval";
                }
            } else {
                $get[] = "$varname=$varval";
            }
        }
        $this->getparams = implode('&', $get);
    }