root / drupal7 / sites / all / modules / views / modules / statistics / views_handler_field_statistics_numeric.inc @ 5d12d676
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* @file |
5 |
* Definition of views_handler_field_statistics_numeric. |
6 |
*/ |
7 |
|
8 |
/** |
9 |
* Field handler to present numeric values from the statistics module. |
10 |
* |
11 |
* @ingroup views_field_handlers |
12 |
*/ |
13 |
class views_handler_field_statistics_numeric extends views_handler_field_numeric { |
14 |
|
15 |
/** |
16 |
* {@inheritdoc} |
17 |
*/ |
18 |
public function access() { |
19 |
// Needs permission to see total page views. |
20 |
return user_access('view post access counter'); |
21 |
} |
22 |
|
23 |
} |