_batch_current_set

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/batch.inc, строка 260

Версии
6
&_batch_current_set()

Retrieve the batch set being currently processed.

▾ 4 функции вызывают _batch_current_set()

_batch_next_set in includes/batch.inc
Move execution to the next batch set if any, executing the stored form _submit handlers along the way (thus possibly inserting additional batch sets).
_batch_process in includes/batch.inc
Advance batch processing for 1 second (or process the whole batch if it was not set for progressive execution - e.g forms submitted by drupal_execute).
_batch_progress_page_js in includes/batch.inc
Batch processing page with JavaScript support.
_batch_progress_page_nojs in includes/batch.inc
Batch processing page without JavaScript support.

Код

<?php
function &_batch_current_set() {
  $batch =& batch_get();
  return $batch['sets'][$batch['current_set']];
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему