$dataPatterns = $this->get('dataPatterns');
$hasLocationTypes = $this->get('fieldTypes');
-
/* Initialize all field usages to false */
foreach ($mapperKeys as $key) {
//used to warn for mismatch column count or mismatch mapping
$warning = 0;
-
for ($i = 0; $i < $this->_columnCount; $i++) {
$sel = &$this->addElement('hierselect', "mapper[$i]", ts('Mapper for Field %1', array(1 => $i)), NULL);
$jsSet = FALSE;
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
/**
* Global validation rules for the form
*
- * @param array $fields posted values of the form
+ * @param array $fields
+ * Posted values of the form.
*
* @return array list of errors to be posted back to the form
* @static
$this->set('savedMapping', $saveMappingFields->mapping_id);
}
-
$parser = new CRM_Activity_Import_Parser_Activity($mapperKeysMain, $mapperLocType, $mapperPhoneType);
$parser->run($fileName, $seperator, $mapper, $skipColumnHeader,
CRM_Import_Parser::MODE_PREVIEW