}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapperKeys = array();
$mapper = array();
$mapperKeys = $this->controller->exportValue($this->_name, 'mapper');
*/
public function postProcess() {
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapper = $this->controller->exportValue('MapField', 'mapper');
$mapperKeys = array();
$mapperLocType = array();
}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapper = $mapperKeys = $mapperKeysMain = $mapperSoftCredit = $softCreditFields = $mapperPhoneType = $mapperSoftCreditType = array();
$mapperKeys = $this->controller->exportValue($this->_name, 'mapper');
*/
public function postProcess() {
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');
$mapperSoftCreditType = $this->get('mapperSoftCreditType');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapper = $this->controller->exportValue('MapField', 'mapper');
$mapperKeys = array();
$mapperSoftCredit = array();
}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $separator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$this->_entity = $this->controller->exportValue('DataSource', 'entity');
- $config = CRM_Core_Config::singleton();
- $separator = $config->fieldSeparator;
-
$mapperKeys = array();
$mapper = array();
$mapperKeys = $this->controller->exportValue($this->_name, 'mapper');
*/
public function postProcess() {
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $separator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');
$entity = $this->get('_entity');
- $config = CRM_Core_Config::singleton();
- $separator = $config->fieldSeparator;
-
$mapper = $this->controller->exportValue('MapField', 'mapper');
$mapperKeys = array();
}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
- $config = CRM_Core_Config::singleton();
- /* CRM - 19192 */
- $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
- if(is_null($seperator)) {
- $seperator = $config->fieldSeparator;
- }
-
-
- $mapperKeys = array();
+ $mapperKeys = array();
$mapper = array();
$mapperKeys = $this->controller->exportValue($this->_name, 'mapper');
$mapperKeysMain = array();
*/
public function postProcess() {
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');
- $config = CRM_Core_Config::singleton();
- /* CRM - 19192 */
- $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
- if (is_null($seperator)) {
- $seperator = $config->fieldSeparator;
- }
-
-
- $mapper = $this->controller->exportValue('MapField', 'mapper');
+ $mapper = $this->controller->exportValue('MapField', 'mapper');
$mapperKeys = array();
foreach ($mapper as $key => $value) {
}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapperKeys = array();
$mapper = array();
$mapperKeys = $this->controller->exportValue($this->_name, 'mapper');
*/
public function postProcess() {
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');
- $config = CRM_Core_Config::singleton();
- $seperator = $config->fieldSeparator;
-
$mapper = $this->controller->exportValue('MapField', 'mapper');
$mapperKeys = array();
$mapperLocType = array();