trait CanPaginateRecords (View source)

Properties

protected int|string|Closure|null $defaultPaginationPageOption
protected bool|Closure $isPaginated
protected bool|Closure $isPaginatedWhileReordering
protected array|Closure|null $paginationPageOptions
$hasExtremePaginationLinks

Methods

defaultPaginationPageOption(int|string|Closure|null $option)

No description

paginated(bool|array|Closure $condition = true)

No description

paginatedWhileReordering(bool|Closure $condition = true)

No description

paginationPageOptions(array|Closure|null $options)

No description

extremePaginationLinks(bool|Closure $condition = true)

No description

int|string|null
array
getPaginationPageOptions()

No description

bool
isPaginated()

No description

bool
isPaginatedWhileReordering()

No description

bool
hasExtremePaginationLinks()

No description

Details

CanPaginateRecords defaultPaginationPageOption(int|string|Closure|null $option)

No description

Parameters

int|string|Closure|null $option

Return Value

CanPaginateRecords

CanPaginateRecords paginated(bool|array|Closure $condition = true)

No description

Parameters

bool|array|Closure $condition

Return Value

CanPaginateRecords

CanPaginateRecords paginatedWhileReordering(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanPaginateRecords

CanPaginateRecords paginationPageOptions(array|Closure|null $options)

No description

Parameters

array|Closure|null $options

Return Value

CanPaginateRecords

No description

Parameters

bool|Closure $condition

Return Value

CanPaginateRecords

int|string|null getDefaultPaginationPageOption()

No description

Return Value

int|string|null

array getPaginationPageOptions()

No description

Return Value

array

bool isPaginated()

No description

Return Value

bool

bool isPaginatedWhileReordering()

No description

Return Value

bool

No description

Return Value

bool