$propertyMappings
$propertyMappings :
Runs the property mappings transformations and adds the found properties to the result set.
__construct( $propertyMappings)
$propertyMappings |
run( $dynamicProperties, $headers)
$dynamicProperties | ||
$headers |
runMapping( $mapping, $dynamicProperties, $headers)
Tries to find a property value from the mappings sources.
If a value is found the property is added to the result set and the rest of the sources are ignored.
$mapping | ||
$dynamicProperties | ||
$headers |
getProperty( $source, $propertyDataTypeId, $dynamicProperties, $headers)
The property is obtained by transforming the source value.
The source value is either trimmed and returned or used in a comparison operation(s) to return a defined value. If neither a trim transformation nor a comparison transformation is defined then the source value is passed through unchanged.
Note: the trim transformations occur in the InputSanitiser along with the property mappings validation.
$source | ||
$propertyDataTypeId | ||
$dynamicProperties | ||
$headers |
createProperty( $sourceValue, $dataTypeId)
$sourceValue | ||
$dataTypeId |
associatedIdentiferExists( $assocIdentifierNames, $headers) :
Check if the headers contain any of the associated identifier names.
$assocIdentifierNames | ||
$headers |