ValueOptionInterface
extends
ValueInterface
in
Table of Contents
- DEFAULT_LOCALE = 'default'
- getDisplayValue() : string
- getDisplayValues() : array<string, string>
- getRawValue() : string|int|float|bool|array<string|int, mixed>|null|DateTimeInterface
- isNone() : bool
- isOther() : bool
Constants
DEFAULT_LOCALE
public
mixed
DEFAULT_LOCALE
= 'default'
Methods
getDisplayValue()
public
getDisplayValue([null|string $locale = null ]) : string
Parameters
- $locale : null|string = null
Return values
string —getDisplayValues()
public
getDisplayValues() : array<string, string>
Return values
array<string, string> —Display values for each available locale, indexed by locale
getRawValue()
public
getRawValue() : string|int|float|bool|array<string|int, mixed>|null|DateTimeInterface
Return values
string|int|float|bool|array<string|int, mixed>|null|DateTimeInterface —isNone()
public
isNone() : bool
Return values
bool —isOther()
public
isOther() : bool