trait CanSearchRecords (View source)

Properties

array $tableColumnSearches
?string $tableSearch

Methods

void
updatedTableSearch()

No description

void
updatedTableColumnSearches($value = null, string|null $key = null)

No description

Builder
applySearchToTableQuery(Builder $query)

No description

Builder
applyColumnSearchesToTableQuery(Builder $query)

No description

array
extractTableSearchWords(string $search)

No description

Builder
applyGlobalSearchToTableQuery(Builder $query)

No description

string|null
getTableSearch()

No description

bool
hasTableSearch()

No description

void
resetTableSearch()

No description

void
resetTableColumnSearch(string $column)

No description

void
resetTableColumnSearches()

No description

array
array
castTableColumnSearches(array $searches)

No description

array
getTableColumnSearches()

No description

string
getTableSearchSessionKey()

No description

string
bool
shouldPersistTableSearchInSession() deprecated

No description

bool
shouldPersistTableColumnSearchInSession() deprecated

No description

Details

void updatedTableSearch()

No description

Return Value

void

void updatedTableColumnSearches($value = null, string|null $key = null)

No description

Parameters

$value
string|null $key

Return Value

void

protected Builder applySearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyColumnSearchesToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected array extractTableSearchWords(string $search)

No description

Parameters

string $search

Return Value

array

protected Builder applyGlobalSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

string|null getTableSearch()

No description

Return Value

string|null

bool hasTableSearch()

No description

Return Value

bool

void resetTableSearch()

No description

Return Value

void

void resetTableColumnSearch(string $column)

No description

Parameters

string $column

Return Value

void

void resetTableColumnSearches()

No description

Return Value

void

Indicator getTableSearchIndicator()

No description

Return Value

Indicator

array getTableColumnSearchIndicators()

No description

Return Value

array

protected array castTableColumnSearches(array $searches)

No description

Parameters

array $searches

Return Value

array

array getTableColumnSearches()

No description

Return Value

array

string getTableSearchSessionKey()

No description

Return Value

string

string getTableColumnSearchesSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSearchInSession() deprecated

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

No description

Return Value

bool

protected bool shouldPersistTableColumnSearchInSession() deprecated

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

No description

Return Value

bool