$this->_columnCount = $this->getNumberOfColumns();
$this->_columnNames = $columnNames;
$this->assign('columnNames', $this->getColumnHeaders());
- //$this->_columnCount = $this->get( 'columnCount' );
$this->assign('columnCount', $this->_columnCount);
$this->_dataValues = array_values($this->getDataRows([], 2));
$this->assign('dataValues', $this->_dataValues);
* @throws \CRM_Core_Exception
*/
public function preProcess() {
- $columnNames = $this->get('columnNames');
- $this->_disableUSPS = $this->get('disableUSPS');
+ $columnNames = $this->getColumnHeaders();
+ $this->_disableUSPS = $this->getSubmittedValue('disableUSPS');
//assign column names
$this->assign('columnNames', $columnNames);
public function preProcess() {
// set the error message path to display
$this->assign('errorFile', $this->get('errorFile'));
- $onDuplicate = $this->get('onDuplicate');
+ $onDuplicate = $this->getSubmittedValue('onDuplicate');
$this->assign('dupeError', FALSE);
if ($onDuplicate == CRM_Import_Parser::DUPLICATE_UPDATE) {