1 batch_example.module | _batch_example_update_http_requests() |
Utility function to increment HTTP requests in a session variable.
Related topics
File
- modules/
examples/ batch_example/ batch_example.module, line 302 - Outlines how a module can use the Batch API.
Code
function _batch_example_update_http_requests() {
$_SESSION['http_request_count']++;
}