Documentation

CRM_Contact_Import_MetadataTrait

Trait CRM_Contact_Import_MetadataTrait

since 5.69 will be removed around 5.75

Trait for handling contact import specific metadata so it does not need to be passed from one form to the next.

Table of Contents

Methods

getFieldTitles()  : array<string|int, mixed>
Get an array of header patterns for importable keys.
getHeaderPatterns()  : array<string|int, mixed>
Get an array of header patterns for importable keys.
getContactImportMetadata()  : array<string|int, mixed>
Get metadata for contact importable fields.
getRelationships()  : array<string|int, mixed>
Get sorted available relationships.

Methods

getFieldTitles()

Get an array of header patterns for importable keys.

public getFieldTitles() : array<string|int, mixed>

since 5.69 will be removed around 5.75

Return values
array<string|int, mixed>

getHeaderPatterns()

Get an array of header patterns for importable keys.

public getHeaderPatterns() : array<string|int, mixed>

will be removed around 5.75

We should do this work on the form layer.

Return values
array<string|int, mixed>

getContactImportMetadata()

Get metadata for contact importable fields.

protected getContactImportMetadata() : array<string|int, mixed>

since 5.69 will be removed around 5.75

Return values
array<string|int, mixed>

getRelationships()

Get sorted available relationships.

protected getRelationships() : array<string|int, mixed>

since 5.69 will be removed around 5.75

Return values
array<string|int, mixed>

        
On this page

Search results