includes/form.inc, строка 2539
- 6
&batch_get()
Получает текущий пакет операций.
Retrieve the current batch.
Связанные темы
- Пакетные операции
- Функции позволяют растянуть обработку форм на несколько запросов, предотвращая таким образом прерывание обработки из-за тайм-аута PHP, позволяя при этом пользователю получать информацию о ходе осуществления текущих операций.
- 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;
}
?>
Войдите или
зарегистрируйтесь, чтобы получить возможность отправлять комментарии