摘要:
Drupal有一个内置的百分比进度条显示操作进度的工具batch.使用方式如下:batch_set(batch_example_batch_1());batch_process('redirect_page.php');functionbatch_example_batch_1(){for($i=0;$i<100;$i++){$operations[]=array('batch_example_op_1',array($nid));}$batch=array('operations'=>$operations,'finishe 阅读全文