trait CanSortRecords (View source)

Properties

string|null $tableSortColumn
string|null $tableSortDirection

Methods

void
sortTable(string|null $column = null, string|null $direction = null)

No description

string|null
getTableSortColumn()

No description

string|null
getTableSortDirection()

No description

void
updatedTableSortColumn()

No description

void
updatedTableSortDirection()

No description

Builder
applySortingToTableQuery(Builder $query)

No description

Builder
applyDefaultSortingToTableQuery(Builder $query)

No description

string|null
getDefaultTableSortColumn() deprecated

No description

string|null
getDefaultTableSortDirection() deprecated

No description

string
getTableSortSessionKey()

No description

bool
shouldPersistTableSortInSession() deprecated

No description

Details

void sortTable(string|null $column = null, string|null $direction = null)

No description

Parameters

string|null $column
string|null $direction

Return Value

void

string|null getTableSortColumn()

No description

Return Value

string|null

string|null getTableSortDirection()

No description

Return Value

string|null

void updatedTableSortColumn()

No description

Return Value

void

void updatedTableSortDirection()

No description

Return Value

void

protected Builder applySortingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyDefaultSortingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected string|null getDefaultTableSortColumn() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

protected string|null getDefaultTableSortDirection() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

string|null

string getTableSortSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSortInSession() deprecated

deprecated Override the `table()` method to configure the table.

No description

Return Value

bool