You are here

function ad_report_access in Advertisement 6

Implementation of access callback.

Parameters

mixed $node: Ad object.

1 string reference to 'ad_report_access'
ad_report_menu in report/ad_report.module
Implementation of hook_menu().

File

report/ad_report.module, line 74
Provides comprehensive charts and reports about advertising statistics.

Code

function ad_report_access($node) {
  return $node->type == 'ad' && ad_adaccess($node, 'access statistics');
}