class CRM_Contact_Import_ImportJob

This class acts like a psuedo-BAO for transient import job tables.

Properties

protected $_tableName
protected $_primaryKeyName
protected $_statusFieldName
protected $_doGeocodeAddress
protected $_invalidRowCount
protected $_conflictRowCount
protected $_onDuplicate
protected $_dedupe
protected $_newGroupName
protected $_newGroupDesc
protected $_newGroupType
protected $_groups
protected $_allGroups
protected $_newTagName
protected $_newTagDesc
protected $_tag
protected $_allTags
protected $_mapper
protected $_mapperKeys
protected $_mapperLocTypes
protected $_mapperPhoneTypes
protected $_mapperImProviders
protected $_mapperWebsiteTypes
protected $_mapperRelated
protected $_mapperRelatedContactType
protected $_mapperRelatedContactDetails
protected $_mapperRelatedContactLocType
protected $_mapperRelatedContactPhoneType
protected $_mapperRelatedContactImProvider
protected $_mapperRelatedContactWebsiteType
protected $_mapFields
protected $_parser

Methods

__construct(null $tableName = NULL, null $createSql = NULL, bool $createTable = FALSE)

No description

null|string
getTableName()

No description

bool
isComplete(bool $dropIfComplete = TRUE)

No description

setJobParams(array $params)

No description

runImport(CRM_Core_Form $form, int $timeout = 55)

No description

setFormVariables($form)

No description

static array
getIncompleteImportTables()

No description

Details

at line 82
__construct(null $tableName = NULL, null $createSql = NULL, bool $createTable = FALSE)

Parameters

null $tableName
null $createSql
bool $createTable

Exceptions

Exception

at line 128
null|string getTableName()

Return Value

null|string

at line 138
bool isComplete(bool $dropIfComplete = TRUE)

Parameters

bool $dropIfComplete

Return Value

bool

Exceptions

Exception

at line 158
setJobParams(array $params)

Parameters

array $params

at line 169
runImport(CRM_Core_Form $form, int $timeout = 55)

Parameters

CRM_Core_Form $form
int $timeout

at line 340
setFormVariables($form)

Parameters

$form

at line 461
static array getIncompleteImportTables()

Return Value

array