You are here

views_handler_field_statistics_numeric.inc in Views (for Drupal 7) 6.2

Same filename and directory in other branches
  1. 7.3 modules/statistics/views_handler_field_statistics_numeric.inc

Definition of views_handler_field_statistics_numeric.

File

modules/statistics/views_handler_field_statistics_numeric.inc
View source
<?php

/**
 * @file
 * Definition of views_handler_field_statistics_numeric.
 */

/**
 * Field handler to present numeric values from the statistics module.
 *
 * @ingroup views_field_handlers
 */
class views_handler_field_statistics_numeric extends views_handler_field_numeric {

  /**
   * {@inheritdoc}
   */
  public function access() {

    // Needs permission to see total page views.
    return user_access('view post access counter');
  }

}

Classes

Namesort descending Description
views_handler_field_statistics_numeric Field handler to present numeric values from the statistics module.