function date_api_argument_handler::admin_summary in Date 6.2
Same name and namespace in other branches
- 6 date_api.views.inc \date_api_argument_handler::admin_summary()
File
- includes/
date_api_argument_handler.inc, line 156 - Views argument handler.
Class
- date_api_argument_handler
- Date API argument handler.
Code
function admin_summary() {
$fields = date_api_fields($this->definition['base']);
if (!empty($this->options['date_fields'])) {
$output = array();
foreach ($this->options['date_fields'] as $field) {
$output[] = $fields['name'][$field]['label'];
}
return implode('<br />' . $this->options['date_method'] . ' ', $output);
}
else {
return parent::admin_summary();
}
}