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 $_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 71
__construct(null $tableName = NULL, null $createSql = NULL, bool $createTable = FALSE)

Parameters

null $tableName
null $createSql
bool $createTable

Exceptions

Exception

at line 98
null|string getTableName()

Return Value

null|string

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

Parameters

bool $dropIfComplete

Return Value

bool

Exceptions

Exception

at line 128
setJobParams(array $params)

Parameters

array $params

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

Parameters

CRM_Core_Form $form
int $timeout

at line 288
setFormVariables($form)

Parameters

$form

at line 409
static array getIncompleteImportTables()

Return Value

array