public function views_handler_field_statistics_numeric::access in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 7.3 modules/statistics/views_handler_field_statistics_numeric.inc \views_handler_field_statistics_numeric::access()
Check whether current user has access to this handler.
Return value
boolean
Overrides views_handler::access
File
- modules/
statistics/ views_handler_field_statistics_numeric.inc, line 17 - Definition of views_handler_field_statistics_numeric.
Class
- views_handler_field_statistics_numeric
- Field handler to present numeric values from the statistics module.
Code
public function access() {
// Needs permission to see total page views.
return user_access('view post access counter');
}