protected $_newParticipants;
/**
- * class constructor
+ * Class constructor
*/
function __construct(&$mapperKeys, $mapperLocType = NULL, $mapperPhoneType = NULL) {
parent::__construct();
}
/**
- * the initializer code, called before the processing
+ * The initializer code, called before the processing
*
* @return void
* @access public
}
/**
- * handle the values in mapField mode
+ * Handle the values in mapField mode
*
* @param array $values the array of values belonging to this line
*
}
/**
- * handle the values in preview mode
+ * Handle the values in preview mode
*
* @param array $values the array of values belonging to this line
*
}
/**
- * handle the values in summary mode
+ * Handle the values in summary mode
*
* @param array $values the array of values belonging to this line
*
}
/**
- * handle the values in import mode
+ * Handle the values in import mode
*
* @param int $onDuplicate the code for what action to take on duplicates
* @param array $values the array of values belonging to this line
$params[$key] = CRM_Utils_String::strtoboolstr($val);
}
}
+ if($key == 'participant_register_date') {
+ CRM_Utils_Date::convertToDefaultDate($params, $dateType, 'participant_register_date');
+ $formatted['participant_register_date'] = CRM_Utils_Date::processDate($params['participant_register_date']);
+ }
}
}
}
/**
- * the initializer code, called before the processing
+ * The initializer code, called before the processing
*
* @return void
* @access public