}
}
- /**
- * Handle the values in mapField mode.
- *
- * @param array $values
- * The array of values belonging to this line.
- *
- * @return bool
- */
- public function mapField(&$values) {
- return CRM_Import_Parser::VALID;
- }
-
/**
* Handle the values in preview mode.
*
$this->_totalCount++;
if ($mode == self::MODE_MAPFIELD) {
- $returnCode = $this->mapField($values);
+ $returnCode = CRM_Import_Parser::VALID;
}
elseif ($mode == self::MODE_PREVIEW) {
$returnCode = $this->preview($values);
$this->_parseStreetAddress = CRM_Utils_Array::value('street_address_parsing', CRM_Core_BAO_Setting::valueOptions(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'address_options'), FALSE);
}
- /**
- * Handle the values in mapField mode.
- *
- * @param array $values
- * The array of values belonging to this line.
- *
- * @return bool
- */
- public function mapField(&$values) {
- return CRM_Import_Parser::VALID;
- }
-
/**
* Handle the values in preview mode.
*
$this->_totalCount++;
if ($mode == self::MODE_MAPFIELD) {
- $returnCode = $this->mapField($values);
+ $returnCode = CRM_Import_Parser::VALID;
}
elseif ($mode == self::MODE_PREVIEW) {
$returnCode = $this->preview($values);
$this->_totalCount++;
if ($mode == self::MODE_MAPFIELD) {
- $returnCode = $this->mapField($values);
+ $returnCode = CRM_Import_Parser::VALID;
}
elseif ($mode == self::MODE_PREVIEW) {
$returnCode = $this->preview($values);
}
}
- /**
- * Handle the values in mapField mode.
- *
- * @param array $values
- * The array of values belonging to this line.
- *
- * @return bool
- */
- public function mapField(&$values) {
- return CRM_Import_Parser::VALID;
- }
-
/**
* Handle the values in preview mode.
*
}
}
- /**
- * Handle the values in mapField mode.
- *
- * @param array $values
- * The array of values belonging to this line.
- *
- * @return bool
- */
- public function mapField(&$values) {
- return CRM_Import_Parser::VALID;
- }
-
/**
* Handle the values in preview mode.
*
$this->_totalCount++;
if ($mode == self::MODE_MAPFIELD) {
- $returnCode = $this->mapField($values);
+ $returnCode = CRM_Import_Parser::VALID;
}
elseif ($mode == self::MODE_PREVIEW) {
$returnCode = $this->preview($values);
*/
abstract protected function fini();
- /**
- * Map field.
- *
- * @param array $values
- *
- * @return mixed
- */
- abstract protected function mapField(&$values);
-
/**
* Preview.
*
$this->_totalCount++;
if ($mode == self::MODE_MAPFIELD) {
- $returnCode = $this->mapField($values);
+ $returnCode = CRM_Import_Parser::VALID;
}
elseif ($mode == self::MODE_PREVIEW) {
$returnCode = $this->preview($values);
}
}
- /**
- * Handle the values in mapField mode.
- *
- * @param array $values
- * The array of values belonging to this line.
- *
- * @return bool
- */
- public function mapField(&$values) {
- return CRM_Import_Parser::VALID;
- }
-
/**
* Handle the values in preview mode.
*