function better_statistics_request_is_loggable in Better Statistics 7
Determines the loggability of the current request.
Return value
TRUE if the current page can be logged, FALSE otherwise.
3 calls to better_statistics_request_is_loggable()
- better_statistics_better_statistics_prelog in ./
better_statistics.statistics.inc - Implements hook_better_statistics_prelog().
- better_statistics_exit in ./
better_statistics.module - Implements hook_exit().
- hook_better_statistics_prelog in ./
better_statistics.api.php - Allows modules to react just before Better Statistics performs access log field data collection and just after all module.statistics.inc files have been loaded.
File
- ./
better_statistics.module, line 382 - Drupal hook implementations for the Better Statistics module.
Code
function better_statistics_request_is_loggable($allow_logging = NULL) {
$allow_logging_static =& drupal_static(__FUNCTION__, TRUE);
if (isset($allow_logging)) {
$allow_logging_static = $allow_logging;
}
return $allow_logging_static;
}