You are here

function date_api_argument_handler::title in Date 6

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

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

File

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

Class

date_api_argument_handler
Date API argument handler.

Code

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