ProviderWithUserFieldsTrait
A trait to expand the functionality of the provider and the ability to work with UF fields.
For start, you need:
- implement method
getUfEntityId
- append UF info to entity fields - see method ::fillUfEntityFields
- append UF values to entity data - see method ::fillUfEntityData
Table of Contents
Methods
- getFields() : array<string|int, mixed>
- Override BaseProvider method.
- getUfEntityId() : string
- User field ENTITY_ID
- getUfPrefix() : string
- The prefix for UF codes
Methods
getFields()
Override BaseProvider method.
public
getFields() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getUfEntityId()
User field ENTITY_ID
public
abstract getUfEntityId() : string
Return values
stringgetUfPrefix()
The prefix for UF codes
public
abstract getUfPrefix() : string