EntityFieldProvider
Table of Contents
Constants
- TYPE_VIRTUAL = 'VIRTUAL'
Methods
- getAllFieldsDescription() : mixed
- getBooleanFieldItems() : mixed
- getField() : mixed
- getFields() : mixed
- getFieldsDescription() : mixed
- getFieldsInternal() : array<string|int, mixed>
- getFieldsTree() : mixed
- getPresetFieldsTree() : mixed
- getSectionFieldsTree() : mixed
- onUpdateUserFieldItems() : mixed
- Handler of event `main/onAfterSetEnumValues`.
Constants
TYPE_VIRTUAL
public
mixed
TYPE_VIRTUAL
= 'VIRTUAL'
Methods
getAllFieldsDescription()
public
static getAllFieldsDescription([int|null $requisitePresetId = null ]) : mixed
Parameters
- $requisitePresetId : int|null = null
getBooleanFieldItems()
public
static getBooleanFieldItems() : mixed
getField()
public
static getField(mixed $fieldCode[, mixed $hiddenTypes = [] ][, int|null $presetId = null ]) : mixed
Parameters
- $fieldCode : mixed
- $hiddenTypes : mixed = []
- $presetId : int|null = null
getFields()
public
static getFields([array<string|int, mixed> $hiddenTypes = [] ][, int|null $presetId = null ]) : mixed
Parameters
- $hiddenTypes : array<string|int, mixed> = []
- $presetId : int|null = null
getFieldsDescription()
public
static getFieldsDescription(array<string|int, mixed> $fields[, int|null $presetId = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>
- $presetId : int|null = null
getFieldsInternal()
public
static getFieldsInternal(mixed $entityName, mixed $entity[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $entityName : mixed
- $entity : mixed
- $options : array<string|int, mixed> = []
Return values
array<string|int, mixed>getFieldsTree()
public
static getFieldsTree([array<string|int, mixed> $hiddenTypes = [] ][, int|null $presetId = null ]) : mixed
Parameters
- $hiddenTypes : array<string|int, mixed> = []
- $presetId : int|null = null
getPresetFieldsTree()
public
static getPresetFieldsTree() : mixed
getSectionFieldsTree()
public
static getSectionFieldsTree() : mixed
onUpdateUserFieldItems()
Handler of event `main/onAfterSetEnumValues`.
public
static onUpdateUserFieldItems(array<string|int, mixed> $userField, array<string|int, mixed> $items) : mixed
Parameters
- $userField : array<string|int, mixed>
-
User field.
- $items : array<string|int, mixed>
-
Items.