HasFilters
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
string|null
string|null
bool
Details
Form
getTableFiltersForm()
No description
void
updatedTableFilters()
No description
protected 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
protected Builder
applyFiltersToTableQuery(Builder $query)
No description
array|null
getTableFilterState(string $name)
No description
string
parseTableFilterName(string $name)
No description
string
getTableFiltersSessionKey()
No description
protected array
getTableFilters()
deprecated
deprecated
No description
protected string|null
getTableFiltersFormWidth()
deprecated
deprecated
No description
protected string|null
getTableFiltersFormMaxHeight()
deprecated
deprecated
No description
protected bool
shouldPersistTableFiltersInSession()
deprecated
deprecated
No description