_batch_example_get_http_requests

7 batch_example.module _batch_example_get_http_requests()
8 batch_example.module _batch_example_get_http_requests()

1 call to _batch_example_get_http_requests()

File

batch_example/batch_example.module, line 260
Outlines how a module can use the Batch API.

Code

function _batch_example_get_http_requests() {
  return !empty($_SESSION['http_request_count']) ? $_SESSION['http_request_count'] : 0;
}
Login or register to post comments