Currency implements IField, IAvailableFieldList
FinalYes
Table of Contents
Interfaces
Methods
- available() : bool
- check if field is available
- checkValue() : bool
- check currency code
- getAvailableValues() : array<string|int, mixed>
- get available value
- getCurrencyList() : array<string|int, mixed>
- getDefaultValue() : string|null
- get default currency value
- required() : bool
- check if field is required
Methods
available()
check if field is available
public
static available() : bool
Tags
Return values
boolcheckValue()
check currency code
public
static checkValue(mixed $value) : bool
Parameters
- $value : mixed
Tags
Return values
boolgetAvailableValues()
get available value
public
static getAvailableValues() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getCurrencyList()
public
static getCurrencyList() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultValue()
get default currency value
public
static getDefaultValue() : string|null
Tags
Return values
string|nullrequired()
check if field is required
public
static required() : bool