batch_test.module

Version 1.1 (checked in on 2010/01/08 at 06:36:34 by webchick)

Helper module for the Batch API tests.

Functions

NameDescription
batch_test_chained_formForm with chained submit callbacks.
batch_test_chained_form_submit_1Submit handler #1 for the chained form.
batch_test_chained_form_submit_2Submit handler #2 for the chained form.
batch_test_chained_form_submit_3Submit handler #3 for the chained form.
batch_test_chained_form_submit_4Submit handler #4 for the chained form.
batch_test_menuImplement hook_menu().
batch_test_mock_formA simple form with a textfield and submit button.
batch_test_mock_form_submitSubmit handler for the batch_test_mock form.
batch_test_multistep_formMultistep form.
batch_test_multistep_form_submitSubmit handler for the multistep form.
batch_test_nested_drupal_form_submitMenu callback: programmatically submits a form within a batch.
batch_test_no_formMenu callback: fire a batch process without a form submission.
batch_test_programmaticMenu callback: programmatically submits the 'Chained' form.
batch_test_redirect_pageMenu callback: successful redirection.
batch_test_simple_formSimple form.
batch_test_simple_form_submitSubmit handler for the simple form.
batch_test_stackHelper function: store or retrieve traced execution data.
batch_test_theme_batchMenu callback: run a batch for testing theme used on the progress page.
_batch_test_batch_0Batch 0: no operation.
_batch_test_batch_1Batch 1: repeats a simple operation.
_batch_test_batch_2Batch 2: single multistep operation.
_batch_test_batch_3Batch 3: both single and multistep operations.
_batch_test_batch_4Batch 4: batch within a batch.
_batch_test_nested_drupal_form_submit_callbackBatch operation: submits form_test_mock_form using drupal_form_submit().
_batch_test_theme_callbackBatch callback function for testing the theme used on the progress page.