batch_get
- 6 – 7
&batch_get()
Retrieve the current batch.
Related topics
- Batch operations
- Functions allowing forms processing to be spread out over several page
requests, thus ensuring that the processing does not get interrupted
because of a PHP timeout, while allowing the user to receive feedback
on the progress of the ongoing operations.
- batch_process in includes/form.inc
- Process the batch.
- batch_set in includes/form.inc
- Open a new batch.
- drupal_process_form in includes/form.inc
- This function is the heart of form API. The form gets built, validated and in
appropriate cases, submitted.
- 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.
Code
includes/form.inc, line 2544
<?php
function &batch_get() {
static $batch = array();
return $batch;
}
?>
Login or
register to post comments