function _statistics_advanced_ignore in Statistics Advanced 6
Internal function to track which records to ignore.
2 calls to _statistics_advanced_ignore()
- statistics_advanced_boot in ./
statistics_advanced.module - Implementation of hook_boot().
- statistics_advanced_exit in ./
statistics_advanced.module - Implementation of hook_exit().
File
- ./
statistics_advanced.module, line 246 - Adds advanced settings and features for the core Statistics module.
Code
function _statistics_advanced_ignore($type, $value = NULL) {
static $ignores = array();
if (isset($value)) {
$ignores[$type] = $value;
}
else {
return isset($ignores[$type]) ? $ignores[$type] : FALSE;
}
}