Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1.  
  2. $batch = array(
  3. 'title' => t('Importing data'),
  4. 'operations' => array(),
  5. 'finished' => '_banjia_done',
  6. );
  7. // $state_user = banjia_user_batch_wrap($batch);
  8. $state_node_part_1 = banjia_fin_migrate_do_node_step1($batch);
  9. $c = 0;
  10. $d = 0;
  11. $g = 0;
  12. // foreach ($batch['operations'] as $key => $value) {
  13. // if ($value[1][2]) {
  14. // $c++;
  15. // $f = count($value[1][4]);
  16. // if ($f > $d) {
  17. // $d = $f;
  18. // $g = $key;
  19. // }
  20. // }
  21. // }
  22. $g = 25864;
  23. //dsm($g, 'total with namecheck');
  24. //dsm($batch['operations'][$g]);
  25. $mama = array();
  26. //banjia_part_one_create_node($batch['operations'][$g][1][0],$batch['operations'][$g][1][1], $batch['operations'][$g][1][2], $batch['operations'][$g][1][3], $batch['operations'][$g][1][4], $batch['operations'][$g][1][5], $batch['operations'][$g][1][6], $mama);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement