trait CanPaginateRecords (View source)

Traits

WithPagination

Properties

$tableRecordsPerPage
protected int $defaultTableRecordsPerPageSelectOption

Methods

void
updatedTableRecordsPerPage()

No description

Paginator
paginateTableQuery(Builder $query)

No description

int
getTableRecordsPerPage()

No description

array
bool
isTablePaginationEnabled()

No description

string
getTablePaginationPageName()

No description

string
getTablePerPageSessionKey()

No description

void
resetPage(string|null $pageName = null)

No description

Details

void updatedTableRecordsPerPage()

No description

Return Value

void

protected Paginator paginateTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Paginator

protected int getTableRecordsPerPage()

No description

Return Value

int

protected array getTableRecordsPerPageSelectOptions()

No description

Return Value

array

protected int getDefaultTableRecordsPerPageSelectOption()

No description

Return Value

int

protected bool isTablePaginationEnabled()

No description

Return Value

bool

protected string getTablePaginationPageName()

No description

Return Value

string

string getTablePerPageSessionKey()

No description

Return Value

string

void resetPage(string|null $pageName = null)

No description

Parameters

string|null $pageName

Return Value

void