ListConfig extends Config
Table of Contents
Methods
- __construct() : mixed
- getName() : string
- Name field.
- getType() : string
- Field type.
- setDisabled() : self
- Field is disabled.
- setName() : self
- Name field.
- setPlaceholder() : self
- Field placeholder.
- toArray() : array<string|int, mixed>
- Config for JS class `BX.Grid.InlineEditor`
Methods
__construct()
public
__construct(string $name, array<string|int, string> $items[, string|null $type = Types::DROPDOWN ]) : mixed
Parameters
- $name : string
- $items : array<string|int, string>
-
in format
[value => name]
- $type : string|null = Types::DROPDOWN
getName()
Name field.
public
getName() : string
Return values
stringgetType()
Field type.
public
getType() : string
Return values
stringsetDisabled()
Field is disabled.
public
setDisabled(bool $value) : self
Parameters
- $value : bool
Return values
selfsetName()
Name field.
public
setName(string $value) : self
Parameters
- $value : string
Return values
selfsetPlaceholder()
Field placeholder.
public
setPlaceholder(string $value) : self
Parameters
- $value : string
Return values
selftoArray()
Config for JS class `BX.Grid.InlineEditor`
public
toArray() : array<string|int, mixed>