<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
class CRM_Event_Import_Form_Preview extends CRM_Import_Form_Preview {
/**
- * Function to set variables up before form is built
+ * Set variables up before form is built
*
* @return void
* @access public
*/
public function preProcess() {
- $skipColumnHeader = $this->controller->exportValue('UploadFile', 'skipColumnHeader');
+ $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
//get the data from the session
$dataValues = $this->get('dataValues');
* @access public
*/
public function postProcess() {
- $fileName = $this->controller->exportValue('UploadFile', 'uploadFile');
- $skipColumnHeader = $this->controller->exportValue('UploadFile', 'skipColumnHeader');
+ $fileName = $this->controller->exportValue('DataSource', 'uploadFile');
+ $skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$invalidRowCount = $this->get('invalidRowCount');
$conflictRowCount = $this->get('conflictRowCount');
$onDuplicate = $this->get('onDuplicate');