You are here

function date_api_argument_handler::summary_name in Date 6

Same name and namespace in other branches
  1. 6.2 includes/date_api_argument_handler.inc \date_api_argument_handler::summary_name()

Provide a link to the next level of the view from the summary.

File

./date_api.views.inc, line 201
Defines date-related Views data and plugins:

Class

date_api_argument_handler
Date API argument handler.

Code

function summary_name($data) {
  $format = $this->date_handler
    ->views_formats($this->options['granularity'], 'display');
  $created = $data->{$this->name_alias};
  return format_date(strtotime($created), 'custom', $format, 0);
}