function _sheetnode_phpexcel_batch_import_finished in Sheetnode 7
Same name and namespace in other branches
- 6 modules/sheetnode_phpexcel/sheetnode_phpexcel.import.inc \_sheetnode_phpexcel_batch_import_finished()
- 7.2 modules/sheetnode_phpexcel/sheetnode_phpexcel.import.inc \_sheetnode_phpexcel_batch_import_finished()
1 string reference to '_sheetnode_phpexcel_batch_import_finished'
- sheetnode_phpexcel_batch_import in modules/
sheetnode_phpexcel/ sheetnode_phpexcel.module - API function to batch import several files using Batch API.
File
- modules/
sheetnode_phpexcel/ sheetnode_phpexcel.import.inc, line 157 - Import sheetnodes through PHPExcel for xls or xlsx spreadsheets.
Code
function _sheetnode_phpexcel_batch_import_finished($success, $results, $operations) {
$batch =& batch_get();
if (empty($batch['redirect']) && !empty($results)) {
drupal_goto('node/' . $results[0]);
}
}