Filter
class Filter extends BaseFilter (View source)
Traits
Conditionable
Macroable
Tappable
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected Table | $table | from BelongsToTable | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array|int|string|Closure|null | $columnSpan | from CanSpanColumns | |
protected array|int|string|null | $columns | from HasColumns | |
protected | $defaultState | from HasDefaultState | |
protected array|Closure|null | $formSchema | from HasFormSchema | |
string|Closure|null | $indicateUsing | from HasIndicators | |
string|Closure|null | $indicator | from HasIndicators | |
protected string|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string | $name | from HasName | |
protected Closure|null | $modifyQueryUsing | from InteractsWithTableQuery | |
string | $formComponent |
Methods
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
from
Configurable
void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
from
EvaluatesClosures
Field|null
getFormField()
No description
Builder
applyToBaseQuery(Builder $query, array $data = [])
No description
formComponent(string $component)
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
BelongsToTable
table(Table $table)
No description
Table
getTable()
No description
HasTable
getLivewire()
No description
array
getState()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
array|int|string|Closure|null
getColumnSpan()
No description
HasColumns
columns(array|int|string|null $columns = 2)
No description
array|int|string|null
getColumns()
No description
HasDefaultState
default($state = true)
No description
getDefaultState()
No description
HasFormSchema
form(array|Closure|null $schema)
No description
array
getFormSchema()
No description
protected Field|null
getFormField()
No description
HasIndicators
indicator(string|Closure|null $indicator)
No description
HasIndicators
indicateUsing(Closure|null $callback)
No description
array
getIndicators()
No description
string
getIndicator()
No description
HasLabel
label(string|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
string
getLabel()
No description
string
getName()
No description
Builder
apply(Builder $query, array $data = [])
No description
Builder
applyToBaseQuery(Builder $query, array $data = [])
No description
InteractsWithTableQuery
query(Closure|null $callback)
No description
protected bool
hasQueryModificationCallback()
No description
final
__construct(string $name)
No description
static BaseFilter
make(string|null $name = null)
No description
static string|null
getDefaultName()
No description
Filter
toggle()
No description
Filter
checkbox()
No description
Filter
formComponent(string $component)
No description