MoneyConfig extends Config
Configuration for `input+dropdown` fields (usually it's money).
Table of Contents
Methods
- __construct() : mixed
- getName() : string
- Name field.
- getType() : string
- Field type.
- setDisabled() : self
- Field is disabled.
- setHtml() : self
- Control content is HTML.
- 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, mixed>|null $currencyList = null ]) : mixed
Parameters
- $name : string
- $currencyList : array<string|int, mixed>|null = null
-
in format
[value => name]
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
selfsetHtml()
Control content is HTML.
public
setHtml(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>