batch.inc

Version 1.50 (checked in on 2010/02/17 at 22:44:51 by webchick)

Batch processing API for processes to run in multiple HTTP requests.

Note that batches are usually invoked by form submissions, which is why the core interaction functions of the batch processing API live in form.inc.

See also

form.inc

@see batch_set()

See also

batch_process()

@see batch_get()

Functions

NameDescription
batch_loadLoads a batch from the database.
_batch_api_percentageHelper function for _batch_process(): returns the formatted percentage.
_batch_current_setReturn the batch set being currently processed.
_batch_doDo one execution pass in JavaScript-mode and return progress to the browser.
_batch_finishedEnd the batch processing.
_batch_next_setRetrieve the next set in a batch.
_batch_pageState-based dispatcher for the batch processing page.
_batch_processProcess sets in a batch.
_batch_progress_page_jsOutput a batch processing page with JavaScript support.
_batch_progress_page_nojsOutput a batch processing page without JavaScript support.
_batch_shutdownShutdown function; store the current batch data for the next request.
_batch_startInitialize the batch processing.