batch.inc

Version 1.14 (checked in on 2007-12-20 at 11:57:20 by goba)

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

Functions

NameDescription
_batch_current_setRetrieve the batch set being currently processed.
_batch_doDo one pass of execution and inform back the browser about progression (used for JavaScript-mode only).
_batch_finishedEnd the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.
_batch_next_setMove execution to the next batch set if any, executing the stored form _submit handlers along the way (thus possibly inserting additional batch sets).
_batch_pageState-based dispatcher for the batch processing page.
_batch_processAdvance 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_jsBatch processing page with JavaScript support.
_batch_progress_page_nojsBatch processing page without JavaScript support.
_batch_shutdownShutdown function: store the batch data for next request, or clear the table if the batch is finished.
_batch_startInitiate the batch processing

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options