paginator

package
v0.0.0-...-0fc7f2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paginator

type Paginator struct {
	PagesNum  int64
	Page      int64
	FirstPage int64
	PrevPage  int64
	NextPage  int64
	LastPage  int64
}

func (*Paginator) Calc

func (p *Paginator) Calc(rowsNum int64, rowPerPage int64, page int64)

func (*Paginator) ManageFilter

func (p *Paginator) ManageFilter(dbEngine string, model *orm.Table, GET_ map[string]string,
	extRefs bool, quickList []string, listAllConds [][7]string,
	options map[string][]map[string]string, listURL string, btnName string,
	colSpan int) ([][7]string, map[string]string, string, string)

func (*Paginator) PagHTML

func (p *Paginator) PagHTML(link string, pars map[string]string,
	showPageMode string, classes string) string

func (*Paginator) Setup

func (p *Paginator) Setup()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL