class MultiSelectFilter extends SelectFilter (View source)

deprecated Use `SelectFilter` with the `multiple()` method instead.

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 Arrayable|string|Closure|null $options from  HasOptions
protected Closure|null $getOptionLabelUsing from  HasOptions
protected Closure|null $getOptionLabelsUsing from  HasOptions
protected Closure|null $getSearchResultsUsing from  HasOptions
protected string|Closure|null $placeholder from  HasPlaceholder
protected Closure|null $modifyRelationshipQueryUsing from  HasRelationship
protected bool|Closure $isPreloaded from  HasRelationship
protected string|Closure|null $relationship from  HasRelationship
protected string|Closure|null $relationshipTitleAttribute from  HasRelationship
protected string|Closure|null $attribute from  SelectFilter
protected bool|Closure $isMultiple from  SelectFilter
protected bool|Closure $isNative from  SelectFilter
protected bool|Closure $isStatic from  SelectFilter
protected bool $searchable from  SelectFilter
protected bool|Closure $canSelectPlaceholder from  SelectFilter
protected int|Closure $optionsLimit from  SelectFilter
protected bool|Closure|null $isSearchForcedCaseInsensitive from  SelectFilter
protected Closure|null $getOptionLabelFromRecordUsing from  SelectFilter

Methods

static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

string|null
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 callable|null
getMacro(string $method)

No description

table(Table $table)

No description

getTable()

No description

getLivewire()

No description

array
getState()

No description

hidden(bool|Closure $condition = true)

No description

hiddenOn(string|array $livewireComponents)

No description

visible(bool|Closure $condition = true)

No description

visibleOn(string|array $livewireComponents)

No description

bool
isHidden()

No description

bool
isVisible()

No description

resetState(array|Closure|null $state)

No description

array
getResetState()

No description

columnSpan(array|int|string|Closure|null $span)

No description

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

columns(array|int|string|null $columns = 2)

No description

array|int|string|null
getColumns()

No description

default(mixed $state = true)

No description

mixed
getDefaultState()

No description

form(array|Closure|null $schema)

No description

modifyFormFieldUsing(Closure|null $callback)

No description

array
getFormSchema()

No description

bool
hasFormSchema()

No description

Field|null
getFormField()

No description

getForm()

No description

indicator(Htmlable|Closure|null $indicator)

No description

indicateUsing(Closure|null $callback)

No description

array
getIndicators()

No description

Htmlable
getIndicator()

No description

label(string|Closure|null $label)

No description

from  HasLabel
translateLabel(bool $shouldTranslateLabel = true)

No description

from  HasLabel
string
getLabel()

No description

from  HasLabel
name(string $name)

No description

from  HasName
string
getName()

No description

from  HasName
Builder
apply(Builder $query, array $data = [])

No description

Builder
applyToBaseQuery(Builder $query, array $data = [])

No description

query(Closure|null $callback)

No description

baseQuery(Closure|null $callback)

No description

__construct(string $name)

No description

static BaseFilter
make(string|null $name = null)

No description

static string|null
getDefaultName()

No description

int
getActiveCount()

No description

options(Arrayable|string|Closure|null $options)

No description

array
getOptions()

No description

getOptionLabelUsing(Closure|null $callback)

No description

getOptionLabelsUsing(Closure|null $callback)

No description

getSearchResultsUsing(Closure|null $callback)

No description

Closure|null
getOptionLabelUsingCallback()

No description

Closure|null
getOptionLabelsUsingCallback()

No description

Closure|null
placeholder(string|Closure|null $placeholder)

No description

string|null
getPlaceholder()

No description

relationship(string|Closure|null $name, string|Closure|null $titleAttribute, Closure|null $modifyQueryUsing = null)

No description

preload(bool|Closure $condition = true)

No description

bool
isPreloaded()

No description

bool
queriesRelationships()

No description

Builder
getRelationship()

No description

string|null
getRelationshipName()

No description

string|null
Builder|null
getRelationshipQuery()

No description

string|null
getRelationshipKey(Builder|null $query = null)

No description

attribute(string|Closure|null $name)

No description

column(string|Closure|null $name) deprecated

No description

static(bool|Closure $condition = true)

No description

multiple(bool|Closure $condition = true)

No description

searchable(bool|array|Closure $condition = true)

No description

selectablePlaceholder(bool|Closure $condition = true)

No description

string
getAttribute()

No description

string
getColumn() deprecated

No description

forceSearchCaseInsensitive(bool|Closure|null $condition = true)

No description

bool|null
bool
isMultiple()

No description

bool|array|Closure
getSearchable()

No description

bool
canSelectPlaceholder()

No description

optionsLimit(int|Closure $limit)

No description

int
getOptionsLimit()

No description

native(bool|Closure $condition = true)

No description

bool
isNative()

No description

getOptionLabelFromRecordUsing(Closure|null $callback)

No description

Details

static mixed configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $modifyUsing
Closure|null $during
bool $isImportant

Return Value

mixed

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

mixed evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

Parameters

mixed $value
array $namedInjections
array $typedInjections

Return Value

mixed

protected mixed resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

Parameters

ReflectionParameter $parameter
array $namedInjections
array $typedInjections

Return Value

mixed

protected array resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

Parameters

string $parameterName

Return Value

array

protected array resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

Parameters

string $parameterType

Return Value

array

protected string|null getTypedReflectionParameterClassName(ReflectionParameter $parameter)

No description

Parameters

ReflectionParameter $parameter

Return Value

string|null

static void macro(string $name, callable $macro)

No description

Parameters

string $name
callable $macro

Return Value

void

static void mixin(object $mixin, bool $replace = true)

No description

Parameters

object $mixin
bool $replace

Return Value

void

static void flushMacros()

No description

Return Value

void

static mixed __callStatic(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

mixed __call(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

static protected callable|null getMacro(string $method)

No description

Parameters

string $method

Return Value

callable|null

BelongsToTable table(Table $table)

No description

Parameters

Table $table

Return Value

BelongsToTable

Table getTable()

No description

Return Value

Table

HasTable getLivewire()

No description

Return Value

HasTable

array getState()

No description

Return Value

array

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenOn(string|array $livewireComponents)

No description

Parameters

string|array $livewireComponents

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visibleOn(string|array $livewireComponents)

No description

Parameters

string|array $livewireComponents

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool

CanResetState resetState(array|Closure|null $state)

No description

Parameters

array|Closure|null $state

Return Value

CanResetState

array getResetState()

No description

Return Value

array

CanSpanColumns columnSpan(array|int|string|Closure|null $span)

No description

Parameters

array|int|string|Closure|null $span

Return Value

CanSpanColumns

CanSpanColumns columnSpanFull()

No description

Return Value

CanSpanColumns

CanSpanColumns columnStart(array|int|string|Closure|null $start)

No description

Parameters

array|int|string|Closure|null $start

Return Value

CanSpanColumns

array|int|string|Closure|null getColumnSpan()

No description

Return Value

array|int|string|Closure|null

array|int|string|Closure|null getColumnStart()

No description

Return Value

array|int|string|Closure|null

HasColumns columns(array|int|string|null $columns = 2)

No description

Parameters

array|int|string|null $columns

Return Value

HasColumns

array|int|string|null getColumns()

No description

Return Value

array|int|string|null

HasDefaultState default(mixed $state = true)

No description

Parameters

mixed $state

Return Value

HasDefaultState

mixed getDefaultState()

No description

Return Value

mixed

HasFormSchema form(array|Closure|null $schema)

No description

Parameters

array|Closure|null $schema

Return Value

HasFormSchema

HasFormSchema modifyFormFieldUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasFormSchema

array getFormSchema()

No description

Return Value

array

bool hasFormSchema()

No description

Return Value

bool

Field|null getFormField()

No description

Return Value

Field|null

ComponentContainer getForm()

No description

Return Value

ComponentContainer

HasIndicators indicator(Htmlable|Closure|null $indicator)

No description

Parameters

Htmlable|Closure|null $indicator

Return Value

HasIndicators

HasIndicators indicateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasIndicators

array getIndicators()

No description

Return Value

array

Htmlable getIndicator()

No description

Return Value

Htmlable

HasLabel label(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

string getLabel()

No description

Return Value

string

HasName name(string $name)

No description

Parameters

string $name

Return Value

HasName

string getName()

No description

Return Value

string

Builder apply(Builder $query, array $data = [])

No description

Parameters

Builder $query
array $data

Return Value

Builder

Builder applyToBaseQuery(Builder $query, array $data = [])

No description

Parameters

Builder $query
array $data

Return Value

Builder

InteractsWithTableQuery query(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery baseQuery(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery modifyQueryUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery modifyBaseQueryUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

protected bool hasQueryModificationCallback()

No description

Return Value

bool

protected bool hasBaseQueryModificationCallback()

No description

Return Value

bool

final __construct(string $name)

No description

Parameters

string $name

static BaseFilter make(string|null $name = null)

No description

Parameters

string|null $name

Return Value

BaseFilter

static string|null getDefaultName()

No description

Return Value

string|null

int getActiveCount()

No description

Return Value

int

HasOptions options(Arrayable|string|Closure|null $options)

No description

Parameters

Arrayable|string|Closure|null $options

Return Value

HasOptions

array getOptions()

No description

Return Value

array

HasOptions getOptionLabelUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasOptions

HasOptions getOptionLabelsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasOptions

HasOptions getSearchResultsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasOptions

Closure|null getOptionLabelUsingCallback()

No description

Return Value

Closure|null

Closure|null getOptionLabelsUsingCallback()

No description

Return Value

Closure|null

Closure|null getSearchResultsUsingCallback()

No description

Return Value

Closure|null

HasPlaceholder placeholder(string|Closure|null $placeholder)

No description

Parameters

string|Closure|null $placeholder

Return Value

HasPlaceholder

string|null getPlaceholder()

No description

Return Value

string|null

HasRelationship relationship(string|Closure|null $name, string|Closure|null $titleAttribute, Closure|null $modifyQueryUsing = null)

No description

Parameters

string|Closure|null $name
string|Closure|null $titleAttribute
Closure|null $modifyQueryUsing

Return Value

HasRelationship

HasRelationship preload(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasRelationship

bool isPreloaded()

No description

Return Value

bool

bool queriesRelationships()

No description

Return Value

bool

Builder getRelationship()

No description

Return Value

Builder

string|null getRelationshipName()

No description

Return Value

string|null

string|null getRelationshipTitleAttribute()

No description

Return Value

string|null

Closure|null getModifyRelationshipQueryUsing()

No description

Return Value

Closure|null

Builder|null getRelationshipQuery()

No description

Return Value

Builder|null

string|null getRelationshipKey(Builder|null $query = null)

No description

Parameters

Builder|null $query

Return Value

string|null

SelectFilter attribute(string|Closure|null $name)

No description

Parameters

string|Closure|null $name

Return Value

SelectFilter

SelectFilter column(string|Closure|null $name) deprecated

deprecated Use `attribute()` instead.

No description

Parameters

string|Closure|null $name

Return Value

SelectFilter

SelectFilter static(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

SelectFilter

SelectFilter multiple(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

SelectFilter

SelectFilter searchable(bool|array|Closure $condition = true)

No description

Parameters

bool|array|Closure $condition

Return Value

SelectFilter

SelectFilter selectablePlaceholder(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

SelectFilter

string getAttribute()

No description

Return Value

string

string getColumn() deprecated

deprecated Use `getAttribute()` instead.

No description

Return Value

string

SelectFilter forceSearchCaseInsensitive(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

SelectFilter

bool|null isSearchForcedCaseInsensitive()

No description

Return Value

bool|null

bool isMultiple()

No description

Return Value

bool

bool|array|Closure getSearchable()

No description

Return Value

bool|array|Closure

| array | Closure

bool canSelectPlaceholder()

No description

Return Value

bool

SelectFilter optionsLimit(int|Closure $limit)

No description

Parameters

int|Closure $limit

Return Value

SelectFilter

int getOptionsLimit()

No description

Return Value

int

SelectFilter native(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

SelectFilter

bool isNative()

No description

Return Value

bool

SelectFilter getOptionLabelFromRecordUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

SelectFilter