Filter
class Filter extends BaseFilter (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected Table | $table | from BelongsToTable | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array<string,mixed> | $resetState | from CanResetState | |
protected array|int|string|Closure|null | $columnSpan | from CanSpanColumns | |
protected array|int|string|Closure|null | $columnStart | from CanSpanColumns | |
protected array|int|string|null | $columns | from HasColumns | |
protected mixed | $defaultState | from HasDefaultState | |
protected Component[] | $formSchema | from HasFormSchema | |
protected Closure|null | $modifyFormFieldUsing | from HasFormSchema | |
protected string|Closure|null | $indicateUsing | from HasIndicators | |
protected Htmlable|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 | |
protected Closure|null | $modifyBaseQueryUsing | from InteractsWithTableQuery | |
protected string | $formComponent |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
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
hiddenOn(string|array $livewireComponents)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
visibleOn(string|array $livewireComponents)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanResetState
resetState(array|Closure|null $state)
No description
array
getResetState()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|Closure|null
getColumnSpan()
No description
array|int|string|Closure|null
getColumnStart()
No description
HasColumns
columns(array|int|string|null $columns = 2)
No description
array|int|string|null
getColumns()
No description
HasDefaultState
default(mixed $state = true)
No description
mixed
getDefaultState()
No description
HasFormSchema
form(array|Closure|null $schema)
No description
HasFormSchema
modifyFormFieldUsing(Closure|null $callback)
No description
array
getFormSchema()
No description
bool
hasFormSchema()
No description
Field|null
getFormField()
No description
ComponentContainer
getForm()
No description
HasIndicators
indicator(Htmlable|Closure|null $indicator)
No description
HasIndicators
indicateUsing(Closure|null $callback)
No description
array
getIndicators()
No description
Htmlable
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
InteractsWithTableQuery
baseQuery(Closure|null $callback)
No description
InteractsWithTableQuery
modifyQueryUsing(Closure|null $callback)
No description
InteractsWithTableQuery
modifyBaseQueryUsing(Closure|null $callback)
No description
protected bool
hasQueryModificationCallback()
No description
protected bool
hasBaseQueryModificationCallback()
No description
final
__construct(string $name)
No description
static BaseFilter
make(string|null $name = null)
No description
static string|null
getDefaultName()
No description
int
getActiveCount()
No description
Filter
toggle()
No description
Filter
checkbox()
No description
Filter
formComponent(string $component)
No description