$onDuplicate
);
- // add all the necessary variables to the form
+ // Add all the necessary variables to the form.
$parser->set($this, CRM_Import_Parser::MODE_IMPORT);
- // check if there is any error occured
+ // Check if there is any error occurred.
$errorStack = CRM_Core_Error::singleton();
$errors = $errorStack->getErrors();
* @param CRM_Core_Session $store
*
* @param int $mode
- *
- * @return void
*/
public function set($store, $mode = self::MODE_SUMMARY) {
$store->set('fileSize', $this->_fileSize);