public function getLastPageParams()
    {
        $limit = $this->limit <= 0 ? $this->count : $this->limit;
        $last_page = intdiv(intval($this->count), intval($limit));
        $last_url = $this->offset_key
            . ($last_page * $limit)
            . $this->limit_key
            . $limit;

        return $last_url;
    }
public function getLastPageParams()
    {
        $limit = $this->limit <= 0 ? $this->count : $this->limit;
        $last_page = intdiv(intval($this->count), intval($limit));
        $last_url = $this->offset_key
            . ($last_page * $limit)
            . $this->limit_key
            . $limit;

        return $last_url;
    }
public function getLastPageParams ( ) { $ limit = $ this -> limit <= 0 ? $ this -> count : $ this -> limit ; $ last_page = intdiv ( intval ( $ this -> count ) , intval ( $ limit ) ) ; $ last_url = $ this -> offset_key . ( $ last_page * $ limit ) . $ this -> limit_key . $ limit ; return $ last_url ; }
Generate the last page url parameters as string.

@param int $count
@param int $currentOffset
@param int $limit

@return string
Generate the last page url parameters as string .