batch_get

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

includes/form.inc, строка 2539

Версии
6
&batch_get()

Получает текущий пакет операций.

Связанные темы

▾ 12 функции вызывают batch_get()

batch_process in includes/form.inc
Process the batch.
batch_set in includes/form.inc
Создать новый пакет (список) операций.
drupal_process_form in includes/form.inc
Эта функция является основной в Forms API. Предназначена для построения формы и проверки формы на соответствие требованиям и обработки результатов.
form_execute_handlers in includes/form.inc
A helper function used to execute custom validation and submission handlers for a given form. Button-specific handlers are checked first. If none exist, the function falls back to form-level handlers.
_batch_current_set in includes/batch.inc
Retrieve the batch set being currently processed.
_batch_finished in includes/batch.inc
End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.
_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_page in includes/batch.inc
State-based dispatcher for the batch processing page.
_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.
_batch_shutdown in includes/batch.inc
Shutdown function: store the batch data for next request, or clear the table if the batch is finished.

Код

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

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