SelectFilter
extends Filter
Table of Contents
-
$type
: string
-
$container
: Container
-
$default
: mixed
-
$defaultValueSet
: bool
-
$name
: string
-
$options
: array<string|int, mixed>
-
$optionsRequestCallback
: Closure
-
container()
: void
-
created()
: void
-
default()
: Filter
-
getDefaultValue()
: mixed
-
getOptions()
: array<string|int, mixed>
-
hasDefaultValue()
: bool
-
name()
: Filter
-
options()
: Filter
-
optionsRequest()
: Filter
-
toSchemaJson()
: array<string|int, mixed>
-
setup()
: void
$type
public
static string
$type
= 'Afeefa.SelectFilter'
$container
protected
Container
$container
$default
protected
mixed
$default
$defaultValueSet
protected
bool
$defaultValueSet
= false
$name
protected
string
$name
$options
protected
array<string|int, mixed>
$options
$optionsRequestCallback
protected
Closure
$optionsRequestCallback
container()
public
container(Container $container) : void
Parameters
-
$container
: Container
-
Return values
void
—
created()
public
created() : void
Return values
void
—
default()
public
default(mixed $default) : Filter
Parameters
-
$default
: mixed
-
Return values
Filter
—
getDefaultValue()
public
getDefaultValue() : mixed
Return values
mixed
—
getOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
hasDefaultValue()
public
hasDefaultValue() : bool
Return values
bool
—
name()
public
name(string $name) : Filter
Parameters
-
$name
: string
-
Return values
Filter
—
options()
public
options(array<string|int, mixed> $options) : Filter
Parameters
-
$options
: array<string|int, mixed>
-
Return values
Filter
—
optionsRequest()
public
optionsRequest(Closure $callback) : Filter
Parameters
-
$callback
: Closure
-
Return values
Filter
—
toSchemaJson()
public
toSchemaJson() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
setup()
protected
setup() : void
Return values
void
—