Contao Utils Bundle

GetDcaFieldsOptions
in package

Table of Contents

Properties

$allowedInputTypes  : array<string|int, mixed>
$evalConditions  : array<string|int, mixed>
$localizeLabels  : bool
$onlyDatabaseFields  : bool
'onlyDatabaseFields' => false, 'allowedInputTypes' => [], 'evalConditions' => [], 'localizeLabels' => false, 'skipSorting' => false,
$skipSorting  : bool

Methods

create()  : self
getAllowedInputTypes()  : array<string|int, mixed>
getEvalConditions()  : array<string|int, mixed>
isHasEvalConditions()  : bool
isLocalizeLabels()  : bool
isOnlyAllowedInputTypes()  : bool
isOnlyDatabaseFields()  : bool
isSkipSorting()  : bool
setAllowedInputTypes()  : GetDcaFieldsOptions
Return only fields of given types.
setEvalConditions()  : GetDcaFieldsOptions
Return only fields with given eval key-value-pairs.
setLocalizeLabels()  : GetDcaFieldsOptions
Return also the field labels (key = field name, value = field label). Default false
setOnlyDatabaseFields()  : GetDcaFieldsOptions
Return only fields with sql definition. Default false
setSkipSorting()  : GetDcaFieldsOptions
Skip sorting fields by field name alphabetical. Default false

Properties

$onlyDatabaseFields

'onlyDatabaseFields' => false, 'allowedInputTypes' => [], 'evalConditions' => [], 'localizeLabels' => false, 'skipSorting' => false,

private bool $onlyDatabaseFields = false

Methods

getAllowedInputTypes()

public getAllowedInputTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEvalConditions()

public getEvalConditions() : array<string|int, mixed>
Return values
array<string|int, mixed>

isOnlyAllowedInputTypes()

public isOnlyAllowedInputTypes() : bool
Return values
bool

        
On this page

Search results