C:/drupal/includes/batch.inc File Reference

Go to the source code of this file.


Functions

 _batch_page ()
 _batch_start ()
 _batch_progress_page_js ()
 _batch_do ()
 _batch_progress_page_nojs ()
 _batch_process ()
_batch_current_set ()
 _batch_next_set ()
 _batch_finished ()
 _batch_shutdown ()


Function Documentation

& _batch_current_set (  ) 

Retrieve the batch set being currently processed.

Definition at line 261 of file batch.inc.

References batch_get().

Referenced by _batch_next_set(), _batch_process(), _batch_progress_page_js(), and _batch_progress_page_nojs().

Here is the call graph for this function:

_batch_do (  ) 

Do one pass of execution and inform back the browser about progression (used for JavaScript-mode only).

Definition at line 97 of file batch.inc.

References $percentage, _batch_process(), drupal_json(), drupal_set_message(), drupal_set_title(), and t().

Referenced by _batch_page().

Here is the call graph for this function:

_batch_finished (  ) 

End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.

Definition at line 290 of file batch.inc.

References batch_get(), db_query(), drupal_goto(), and drupal_redirect_form().

Referenced by _batch_page(), and _batch_process().

Here is the call graph for this function:

_batch_next_set (  ) 

Move execution to the next batch set if any, executing the stored form _submit handlers along the way (thus possibly inserting additional batch sets).

Definition at line 271 of file batch.inc.

References _batch_current_set(), and batch_get().

Referenced by _batch_process().

Here is the call graph for this function:

_batch_page (  ) 

State-based dispatcher for the batch processing page.

Definition at line 11 of file batch.inc.

References $op, $output, _batch_do(), _batch_finished(), _batch_progress_page_nojs(), _batch_start(), batch_get(), db_query(), db_result(), and drupal_get_token().

Referenced by install_tasks(), and system_batch_page().

Here is the call graph for this function:

_batch_process (  ) 

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).

Definition at line 165 of file batch.inc.

References $percentage, _batch_current_set(), _batch_finished(), _batch_next_set(), batch_get(), timer_read(), and timer_start().

Referenced by _batch_do(), _batch_progress_page_nojs(), and batch_process().

Here is the call graph for this function:

_batch_progress_page_js (  ) 

Batch processing page with JavaScript support.

Definition at line 69 of file batch.inc.

References $output, $url, _batch_current_set(), batch_get(), drupal_add_js(), drupal_set_title(), and url().

Referenced by _batch_start().

Here is the call graph for this function:

_batch_progress_page_nojs (  ) 

Batch processing page without JavaScript support.

Definition at line 114 of file batch.inc.

References $output, $percentage, $url, _batch_current_set(), _batch_process(), batch_get(), drupal_set_html_head(), drupal_set_title(), print, theme(), and url().

Referenced by _batch_page(), and _batch_start().

Here is the call graph for this function:

_batch_shutdown (  ) 

Shutdown function: store the batch data for next request, or clear the table if the batch is finished.

Definition at line 350 of file batch.inc.

References batch_get(), and db_query().

Here is the call graph for this function:

_batch_start (  ) 

Initiate the batch processing

Definition at line 53 of file batch.inc.

References _batch_progress_page_js(), and _batch_progress_page_nojs().

Referenced by _batch_page().

Here is the call graph for this function:


Generated on Mon Jun 2 15:07:58 2008 for SimpleTest by  1.5.5