trait CanBeSortable (View source)

Properties

protected bool $isSortable
protected array|null $sortColumns
protected Closure|null $sortQuery

Methods

sortable(bool|array $condition = true, Closure|null $query = null)

No description

array
getSortColumns()

No description

bool
isSortable()

No description

array
getDefaultSortColumns()

No description

Details

CanBeSortable sortable(bool|array $condition = true, Closure|null $query = null)

No description

Parameters

bool|array $condition
Closure|null $query

Return Value

CanBeSortable

array getSortColumns()

No description

Return Value

array

bool isSortable()

No description

Return Value

bool

protected array getDefaultSortColumns()

No description

Return Value

array