CRM_Contact_Import_MetadataTrait
trait CRM_Contact_Import_MetadataTrait
Trait CRM_Contact_Import_MetadataTrait
Trait for handling contact import specific metadata so it does not need to be passed from one form to the next.
Methods
Get metadata for contact importable fields.
Get sorted available relationships.
Get an array of header patterns for importable keys.
Get an array of header patterns for importable keys.
Get an array of header patterns for importable keys.
Get configured contact type.
Get configured contact sub type.
Details
at line 16
protected array
getContactImportMetadata()
Get metadata for contact importable fields.
at line 64
protected array
getRelationships()
Get sorted available relationships.
at line 84
array
getHeaderPatterns()
Get an array of header patterns for importable keys.
at line 93
array
getDataPatterns()
Get an array of header patterns for importable keys.
at line 102
array
getFieldTitles()
Get an array of header patterns for importable keys.
at line 109
protected
getContactType()
Get configured contact type.
at line 118
protected string
getContactSubType()
Get configured contact sub type.