trait HasFilters (View source)

Properties

array<string,mixed> $tableFilters
array<string,mixed> $tableDeferredFilters
Form $tableFiltersForm

Methods

getTableFiltersForm()

No description

void
updatedTableFilters()

No description

void
handleTableFilterUpdates()

No description

void
removeTableFilter(string $filterName, string|null $field = null, bool $isRemovingAllFilters = false)

No description

void
removeTableFilters()

No description

void
resetTableFiltersForm()

No description

void
applyTableFilters()

No description

Builder
applyFiltersToTableQuery(Builder $query)

No description

array|null
getTableFilterState(string $name)

No description

string
parseTableFilterName(string $name)

No description

string
getTableFiltersSessionKey()

No description

array
getTableFilters() deprecated

No description

string|null
getTableFiltersFormWidth() deprecated

No description

string|null
getTableFiltersFormMaxHeight() deprecated

No description

bool
shouldPersistTableFiltersInSession() deprecated

No description

Details

Form getTableFiltersForm()

No description

Return Value

Form

void updatedTableFilters()

No description

Return Value

void

protected void handleTableFilterUpdates()

No description

Return Value

void

void removeTableFilter(string $filterName, string|null $field = null, bool $isRemovingAllFilters = false)

No description

Parameters

string $filterName
string|null $field
bool $isRemovingAllFilters

Return Value

void

void removeTableFilters()

No description

Return Value

void

void resetTableFiltersForm()

No description

Return Value

void

void applyTableFilters()

No description

Return Value

void

protected Builder applyFiltersToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

array|null getTableFilterState(string $name)

No description

Parameters

string $name

Return Value

array|null

string parseTableFilterName(string $name)

No description

Parameters

string $name

Return Value

string

string getTableFiltersSessionKey()

No description

Return Value

string

protected array getTableFilters() deprecated

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

No description

Return Value

array

protected string|null getTableFiltersFormWidth() deprecated

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

No description

Return Value

string|null

protected string|null getTableFiltersFormMaxHeight() deprecated

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

No description

Return Value

string|null

protected bool shouldPersistTableFiltersInSession() deprecated

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

No description

Return Value

bool