batch_get

Versions
6 – 7
&batch_get()

Retrieves the current batch.

Related topics

▾ 21 functions call batch_get()

batch_process in drupal/includes/form.inc
Processes the batch.
batch_set in drupal/includes/form.inc
Opens a new batch.
ctools_process_form in contributions/ctools/includes/form.inc
ctools' replacement for drupal_process_form that accepts commands not to redirect, as well as forcing processing of 'get' method forms.
drupal_process_form in drupal/includes/form.inc
This function is the heart of form API. The form gets built, validated and in appropriate cases, submitted.
drupal_process_form_new in contributions/views/includes/form.inc
Views' replacement for drupal_process_form that accepts commands not to redirect, as well as forcing processing of 'get' method forms.
drupal_process_form_new in contributions/views/includes/form.inc
Views' replacement for drupal_process_form that accepts commands not to redirect, as well as forcing processing of 'get' method forms.
form_execute_handlers in drupal/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.
views_exposed_form in contributions/views/views.module
Form builder for the exposed widgets form.
_batch_current_set in drupal/includes/batch.inc
Retrieve the batch set being currently processed.
_batch_finished in drupal/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 drupal/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 drupal/includes/batch.inc
State-based dispatcher for the batch processing page.
_batch_process in drupal/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 drupal/includes/batch.inc
Batch processing page with JavaScript support.
_batch_progress_page_nojs in drupal/includes/batch.inc
Batch processing page without JavaScript support.
_batch_shutdown in drupal/includes/batch.inc
Shutdown function: store the batch data for next request, or clear the table if the batch is finished.
_drush_backend_batch_process in contributions/drush/commands/core/drupal/batch_7.inc
Main loop for the Drush batch API.
_drush_batch_command in contributions/drush/commands/core/drupal/batch_7.inc
Initialize the batch command and call the worker function.
_drush_batch_finished in contributions/drush/commands/core/drupal/batch_7.inc
End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.
_drush_batch_shutdown in contributions/drush/commands/core/drupal/batch_7.inc
Shutdown function: store the batch data for next request, or clear the table if the batch is finished.
_drush_batch_worker in contributions/drush/commands/core/drupal/batch_7.inc
Process batch operations

Code

drupal/includes/form.inc, line 2551

<?php
function &batch_get() {
  static $batch = array();
  return $batch;
}
?>

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.