batch_example_page
developer/examples/batch_example.module, строка 135
- Версии
- 6
batch_example_page()
Код
<?php
function batch_example_page() {
batch_set(batch_example_batch_1());
// We're not inside a form submission workflow, so we have to manually
// trigger the batch processing - this issues a drupal_goto and thus ends
// current request.
// We also specify here where we want to redirect after batch processing.
batch_process('batch_example/example_1');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии