EstateStatusLabel
in package
Table of Contents
- $_estateValues : array<string|int, mixed>
- $_fieldsByPrio : array<string|int, mixed>
- $_pFieldnamesActive : Fieldnames
- $_pFieldnamesInactive : Fieldnames
- __construct() : mixed
- getFieldnamesActive() : Fieldnames
- getFieldnamesInActive() : Fieldnames
- getFieldsByPrio() : array<string|int, mixed>
- getLabel() : string
- getBoolValue() : bool
- getFieldLabel() : string
- processRecord() : string
Properties
$_estateValues
private
array<string|int, mixed>
$_estateValues
= []
$_fieldsByPrio
private
array<string|int, mixed>
$_fieldsByPrio
= ['referenz', 'reserviert', 'verkauft', 'exclusive', 'neu', 'top_angebot', 'preisreduktion', 'courtage_frei', 'objekt_des_tages']
$_pFieldnamesActive
private
Fieldnames
$_pFieldnamesActive
= null
$_pFieldnamesInactive
private
Fieldnames
$_pFieldnamesInactive
= null
Methods
__construct()
public
__construct([Fieldnames $pFieldnamesActive = null ][, Fieldnames $pFieldnamesInactive = null ]) : mixed
Parameters
- $pFieldnamesActive : Fieldnames = null
-
for testing
- $pFieldnamesInactive : Fieldnames = null
-
for testing
Return values
mixed —getFieldnamesActive()
public
getFieldnamesActive() : Fieldnames
Return values
Fieldnames —getFieldnamesInActive()
public
getFieldnamesInActive() : Fieldnames
Return values
Fieldnames —getFieldsByPrio()
public
getFieldsByPrio() : array<string|int, mixed>
Return values
array<string|int, mixed> —getLabel()
public
getLabel(array<string|int, mixed> $estateValues) : string
Parameters
- $estateValues : array<string|int, mixed>
Tags
Return values
string —getBoolValue()
private
getBoolValue(string $key) : bool
Parameters
- $key : string
Return values
bool —getFieldLabel()
private
getFieldLabel(string $key) : string
Parameters
- $key : string
Tags
Return values
string —processRecord()
private
processRecord(string $key) : string
Parameters
- $key : string