SelectFilter
class SelectFilter extends BaseFilter (View source)
Traits
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 | |
protected Arrayable|string|Closure|null | $options | from HasOptions | |
protected string|Closure|null | $placeholder | from HasPlaceholder | |
protected Closure|null | $modifyRelationshipQueryUsing | from HasRelationship | |
protected string|Closure|null | $attribute | ||
protected bool|Closure | $isMultiple | ||
protected bool|Closure | $isStatic | ||
protected bool|Closure | $isSearchable | ||
protected int|Closure | $optionsLimit |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
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
HasOptions
options(Arrayable|string|Closure|null $options)
No description
array
getOptions()
No description
HasPlaceholder
placeholder(string|Closure|null $placeholder)
No description
string|null
getPlaceholder()
No description
HasRelationship
relationship(string $relationshipName, string $titleColumnName = null, Closure $callback = null)
No description
string
getRelationshipKey()
No description
protected array
getRelationshipOptions()
No description
bool
queriesRelationships()
No description
protected Builder
getRelationship()
No description
protected string
getRelationshipName()
No description
protected string
getRelationshipTitleColumnName()
No description
SelectFilter
attribute(string|Closure|null $name)
No description
SelectFilter
column(string|Closure|null $name)
deprecated
deprecated
No description
SelectFilter
static(bool|Closure $condition = true)
No description
SelectFilter
multiple(bool|Closure $condition = true)
No description
SelectFilter
searchable(bool|Closure $condition = true)
No description
string
getAttribute()
No description
string
getColumn()
deprecated
deprecated
No description
protected Select
getFormSelectComponent()
deprecated
deprecated
No description
bool
isMultiple()
No description
bool
isSearchable()
No description
SelectFilter
optionsLimit(int|Closure $limit)
No description
int
getOptionsLimit()
No description