function batch_test_finished_page

6.x batch.test.inc batch_test_finished_page($batch, $items_max)
5.x batch.test.inc batch_test_finished_page($batch, $items_max)

This is our test "finished" page which will be displayed upon completion of the batch (if selected in the test form).

Notice that $batch is being automatically supplied.

Parameters

unknown_type $batch:

File

modules/batch/batch.test.inc, line 19
This file contains functionality for testing out Batch's processing with a sample form which performs some arbitrary actions.

Code

function batch_test_finished_page($batch, $items_max) {
  $rtn = "";

  $rtn .= "<p>" . t("The batch has completed.  You processed %max items.", array("%max" => $items_max)) . "</p>";

  $rtn .= "<p>" . l(t("Return to form."), "batch-test-form") . "</p>";


  return $rtn;
}