trait CanBeSortable (View source)

Properties

protected bool|Closure $isSortable
protected string[] $sortColumns
protected Closure|null $sortQuery

Methods

sortable(bool|array|Closure $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|Closure $condition = true, Closure|null $query = null)

No description

Parameters

bool|array|Closure $condition
Closure|null $query

Return Value

CanBeSortable

array getSortColumns()

No description

Return Value

array

bool isSortable()

No description

Return Value

bool

array getDefaultSortColumns()

No description

Return Value

array