You are here

views_handler_field_node_counter_timestamp.inc in Views (for Drupal 7) 6.2

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

Definition of views_handler_field_node_counter_timestamp.

File

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

/**
 * @file
 * Definition of views_handler_field_node_counter_timestamp.
 */

/**
 * Field handler to present the most recent time the node has been viewed.
 *
 * @ingroup views_field_handlers
 */
class views_handler_field_node_counter_timestamp extends views_handler_field_date {

  /**
   * {@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_node_counter_timestamp Field handler to present the most recent time the node has been viewed.