Contao Utils Bundle

FormatDcaFieldValueOptions
in package

Tags
codeCoverageIgnore

This is a simple DTO.

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

Methods

setArrayJoiner()

The string that joins array values. Default: ', '.

public setArrayJoiner(string $arrayJoiner) : $this
Parameters
$arrayJoiner : string
Return values
$this

setDcaOverride()

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
$this

        
On this page

Search results