public function get_url_params() {
        return array(
            self::PAGEVAR => $this->page,
            self::PERPAGEVAR => $this->perpage,
            self::SORTVAR => $this->sort,
            self::SORTDIRECTIONVAR => $this->sortdirection
        );
    }
public function get_url_params() {
        return array(
            self::PAGEVAR => $this->page,
            self::PERPAGEVAR => $this->perpage,
            self::SORTVAR => $this->sort,
            self::SORTDIRECTIONVAR => $this->sortdirection
        );
    }
public function get_url_params ( ) { return array ( self :: PAGEVAR => $ this -> page , self :: PERPAGEVAR => $ this -> perpage , self :: SORTVAR => $ this -> sort , self :: SORTDIRECTIONVAR => $ this -> sortdirection ) ; }
Gets the params that will need to be added to the url in order to return to this page.

@return array
Gets the params that will need to be added to the url in order to return to this page .