function views_handler_argument_node_created_day::title
Provide a link to the next level of the view.
Overrides views_handler_argument::title
File
-
modules/
node/ views_handler_argument_dates_various.inc, line 166
Class
- views_handler_argument_node_created_day
- Argument handler for a day (DD).
Code
public function title() {
$day = str_pad($this->argument, 2, '0', STR_PAD_LEFT);
$timestamp = strtotime("2005" . "05" . $day . " 00:00:00 UTC");
if ($timestamp !== FALSE) {
return format_date($timestamp, 'custom', $this->format, 'UTC');
}
}