FieldAdapter
Table of Contents
Constants
-
CHECKBOX
= 'checkbox'
-
CUSTOM
= 'custom'
-
CUSTOM_DATE
= 'custom_date'
-
CUSTOM_ENTITY
= 'custom_entity'
-
DATE
= 'date'
-
DEST_SELECTOR
= 'dest_selector'
-
ENTITY_SELECTOR
= 'entity_selector'
-
LIST
= 'list'
-
NUMBER
= 'number'
-
STRING
= 'string'
-
TEXTAREA
= 'textarea'
Methods
-
adapt()
: array<string|int, mixed>
-
normalize()
: array<string|int, mixed>
CHECKBOX
public
mixed
CHECKBOX
= 'checkbox'
CUSTOM
public
mixed
CUSTOM
= 'custom'
CUSTOM_DATE
public
mixed
CUSTOM_DATE
= 'custom_date'
CUSTOM_ENTITY
public
mixed
CUSTOM_ENTITY
= 'custom_entity'
DATE
public
mixed
DATE
= 'date'
DEST_SELECTOR
public
mixed
DEST_SELECTOR
= 'dest_selector'
ENTITY_SELECTOR
public
mixed
ENTITY_SELECTOR
= 'entity_selector'
LIST
public
mixed
LIST
= 'list'
NUMBER
public
mixed
NUMBER
= 'number'
STRING
public
mixed
STRING
= 'string'
TEXTAREA
public
mixed
TEXTAREA
= 'textarea'
adapt()
public
static adapt(array<string|int, mixed> $sourceField[, mixed $filterId = '' ]) : array<string|int, mixed>
Parameters
-
$sourceField
: array<string|int, mixed>
-
-
$filterId
: mixed
= ''
-
Return values
array<string|int, mixed>
normalize()
public
static normalize(array<string|int, mixed> $sourceField) : array<string|int, mixed>
Parameters
-
$sourceField
: array<string|int, mixed>
-
Return values
array<string|int, mixed>