function ad_report_bargraph_access in Advertisement 7
Same name and namespace in other branches
- 6.3 report/ad_report.module \ad_report_bargraph_access()
- 6.2 report/ad_report.module \ad_report_bargraph_access()
Menu system callback, determine if current user can generate reports.
1 string reference to 'ad_report_bargraph_access'
- ad_report_menu in report/
ad_report.module - Implementation of hook_menu().
File
- report/
ad_report.module, line 64 - Provides comprehensive charts and reports about advertising statistics.
Code
function ad_report_bargraph_access($node) {
if (isset($node->adtype)) {
return ad_permission($node->nid, 'generate reports');
}
}