You are here

function date_api_argument_handler::title in Date 6.2

Same name and namespace in other branches
  1. 6 date_api.views.inc \date_api_argument_handler::title()

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

File

includes/date_api_argument_handler.inc, line 229
Views argument handler.

Class

date_api_argument_handler
Date API argument handler.

Code

function title() {
  $format = $this->date_handler
    ->views_formats($this->options['granularity'], 'display');
  $range = $this->date_handler
    ->arg_range($this->argument);
  return date_format_date($range[0], 'custom', $format);
}