Documentation

OtherValueOption
in package
implements ValueOptionInterface, SpecialValueInterface uses GetDisplayValue

Read onlyYes
FinalYes

Table of Contents

Interfaces

ValueOptionInterface
This models the smallest piece of data.
SpecialValueInterface
This models the smallest piece of data.

Constants

RAW_VALUE  = 'other'

Properties

$displayValues  : array<string|int, mixed>

Methods

__construct()  : mixed
getDisplayValue()  : string
getDisplayValues()  : array<string, string>
getType()  : ValueType
getValue()  : string|int|float|bool|DateTimeInterface|array<string|int, mixed>|null

Constants

Properties

Methods

__construct()

public __construct(array<string, string> $displayValues) : mixed
Parameters
$displayValues : array<string, string>

getDisplayValue()

public getDisplayValue([string|null $locale = null ]) : string
Parameters
$locale : string|null = null
Return values
string

getDisplayValues()

public getDisplayValues() : array<string, string>
Return values
array<string, string>

getValue()

public getValue() : string|int|float|bool|DateTimeInterface|array<string|int, mixed>|null
Return values
string|int|float|bool|DateTimeInterface|array<string|int, mixed>|null

        
On this page

Search results