Enumeration extends Type
FinalYes
Class Enumeration
Table of Contents
Methods
- cancelCloneValue() : mixed
- cloneValue() : array<string|int, mixed>|mixed
- Clone value of $fromField, converting to a representation of $toField
- getClass() : static
- getDefaultValueSingle() : mixed
Methods
cancelCloneValue()
public
static cancelCloneValue(mixed $value, array<string|int, mixed> $fromField, array<string|int, mixed> $toField[, mixed $userId = false ]) : mixed
Parameters
- $value : mixed
- $fromField : array<string|int, mixed>
- $toField : array<string|int, mixed>
- $userId : mixed = false
cloneValue()
Clone value of $fromField, converting to a representation of $toField
public
static cloneValue(mixed $value, array<string|int, mixed> &$entityData, array<string|int, mixed> $fromField, array<string|int, mixed> $toField[, mixed $userId = false ][, array<string|int, mixed> $parameters = [] ]) : array<string|int, mixed>|mixed
Parameters
- $value : mixed
-
User field value to be cloned
- $entityData : array<string|int, mixed>
-
Entity data that may be modified by this type of user field
- $fromField : array<string|int, mixed>
-
Source field structure
- $toField : array<string|int, mixed>
-
Destination field structure
- $userId : mixed = false
- $parameters : array<string|int, mixed> = []
-
Source field structure
Return values
array<string|int, mixed>|mixedgetClass()
public
static getClass(mixed $dataType) : static
Parameters
- $dataType : mixed
Tags
Return values
static —string
getDefaultValueSingle()
public
static getDefaultValueSingle(array<string|int, mixed> $field) : mixed
Parameters
- $field : array<string|int, mixed>