ComponentTrait
Trait ComponentTrait
Table of Contents
Methods
- formatProperty() : array<string|int, mixed>
- getPropertyEntityData() : array<string|int, mixed>
- prepareProperties() : array<string|int, int>
Methods
formatProperty()
public
formatProperty(array<string|int, mixed> $property) : array<string|int, mixed>
Parameters
- $property : array<string|int, mixed>
Return values
array<string|int, mixed>getPropertyEntityData()
public
getPropertyEntityData(EntityPropertyValueCollection $entityPropertyValueCollection) : array<string|int, mixed>
Parameters
- $entityPropertyValueCollection : EntityPropertyValueCollection
Return values
array<string|int, mixed>prepareProperties()
public
prepareProperties(EntityPropertyValueCollection $entityPropertyValueCollection, string $entityPropertyClassname, int $personTypeId, bool $isNew) : array<string|int, int>
Parameters
- $entityPropertyValueCollection : EntityPropertyValueCollection
- $entityPropertyClassname : string
- $personTypeId : int
- $isNew : bool