FormatDcaFieldValueOptions
in package
Tags
Table of Contents
Properties
- $arrayJoiner : string
- $cacheOptions : bool
- $dcaOverride : array<string|int, mixed>|null
- $loadDca : bool
- $localize : bool
- $preserveEmptyArrayValues : bool
- $replaceInsertTags : bool
Methods
- create() : FormatDcaFieldValueOptions
- setArrayJoiner() : $this
- The string that joins array values. Default: ', '.
- setCacheOptions() : FormatDcaFieldValueOptions
- setDcaOverride() : $this
- Override the DCA field settings. If not set, the DCA field settings will be used.
- setLoadDca() : FormatDcaFieldValueOptions
- setLocalize() : FormatDcaFieldValueOptions
- setPreserveEmptyArrayValues() : FormatDcaFieldValueOptions
- setReplaceInsertTags() : FormatDcaFieldValueOptions
Properties
$arrayJoiner
public
string
$arrayJoiner
= ', '
$cacheOptions
public
bool
$cacheOptions
= true
$dcaOverride
public
array<string|int, mixed>|null
$dcaOverride
= null
$loadDca
public
bool
$loadDca
= true
$localize
public
bool
$localize
= true
$preserveEmptyArrayValues
public
bool
$preserveEmptyArrayValues
= false
$replaceInsertTags
public
bool
$replaceInsertTags
= true
Methods
create()
public
static create() : FormatDcaFieldValueOptions
Return values
FormatDcaFieldValueOptionssetArrayJoiner()
The string that joins array values. Default: ', '.
public
setArrayJoiner(string $arrayJoiner) : $this
Parameters
- $arrayJoiner : string
Return values
$thissetCacheOptions()
public
setCacheOptions(bool $cacheOptions) : FormatDcaFieldValueOptions
Parameters
- $cacheOptions : bool
Return values
FormatDcaFieldValueOptionssetDcaOverride()
Override the DCA field settings. If not set, the DCA field settings will be used.
public
setDcaOverride(array<string|int, mixed>|null $dcaOverride) : $this
Parameters
- $dcaOverride : array<string|int, mixed>|null
Return values
$thissetLoadDca()
public
setLoadDca(bool $loadDca) : FormatDcaFieldValueOptions
Parameters
- $loadDca : bool
Return values
FormatDcaFieldValueOptionssetLocalize()
public
setLocalize(bool $localize) : FormatDcaFieldValueOptions
Parameters
- $localize : bool
Return values
FormatDcaFieldValueOptionssetPreserveEmptyArrayValues()
public
setPreserveEmptyArrayValues(bool $preserveEmptyArrayValues) : FormatDcaFieldValueOptions
Parameters
- $preserveEmptyArrayValues : bool
Return values
FormatDcaFieldValueOptionssetReplaceInsertTags()
public
setReplaceInsertTags(bool $replaceInsertTags) : FormatDcaFieldValueOptions
Parameters
- $replaceInsertTags : bool