Expected behavior for a Pager
Methods | ||
---|---|---|
public
|
links(string $group = 'default', string $template = 'default'): string
|
# |
public
|
simpleLinks(string $group = 'default', string $template = 'default'): string
|
# |
public
|
makeLinks(int $page, int $perPage, int $total, string $template = 'default'): string
|
# |
public
|
store(string $group, int $page, int $perPage, int $total): $this
|
# |
public
|
setPath(string $path, string $group = 'default'): $this
|
# |
public
|
getPageCount(string $group = 'default'): int
|
# |
public
|
getCurrentPage(string $group = 'default'): int
|
# |
public
|
getPageURI(?int $page = null, string $group = 'default', bool $returnObject = false): string|URI
|
# |
public
|
hasMore(string $group = 'default'): bool
|
# |
public
|
getFirstPage(string $group = 'default'): int
|
# |
public
|
getLastPage(string $group = 'default'): int|null
|
# |
public
|
getNextPageURI(string $group = 'default'): string|null
|
# |
public
|
getPreviousPageURI(string $group = 'default'): string|null
|
# |
public
|
getPerPage(string $group = 'default'): int
|
# |
public
|
getDetails(string $group = 'default'): array
|
# |