function _batch_start
Same name and namespace in other branches
- 6.x drupal-6.x/includes/batch.inc \_batch_start()
Initializes the batch processing.
JavaScript-enabled clients are identified by the 'has_js' cookie set in drupal.js. If no JavaScript-enabled page has been visited during the current user's browser session, the non-JavaScript version is returned.
1 call to _batch_start()
- _batch_page in drupal-7.x/
includes/ batch.inc - Renders the batch processing page based on the current state of the batch.
Archivo
- drupal-7.x/
includes/ batch.inc, line 103 - Batch processing API for processes to run in multiple HTTP requests.
Código
function _batch_start() {
if (isset($_COOKIE['has_js']) && $_COOKIE['has_js']) {
return _batch_progress_page_js();
}
else {
return _batch_progress_page_nojs();
}
}