function views_handler_argument::summary_name

3.x views_handler_argument.inc views_handler_argument::summary_name($data)
2.x views_handler_argument.inc views_handler_argument::summary_name($data)

Provides the name to use for the summary. By default this is just the name field.

Parameters

$data: The query results for the row.

1 call to views_handler_argument::summary_name()
views_handler_argument_string::summary_name in handlers/views_handler_argument_string.inc
Provides the name to use for the summary. By default this is just the name field.
10 methods override views_handler_argument::summary_name()
views_handler_argument_field_list::summary_name in modules/field/views_handler_argument_field_list.inc
Provides the name to use for the summary. By default this is just the name field.
views_handler_argument_locale_group::summary_name in modules/locale/views_handler_argument_locale_group.inc
Override the behavior of summary_name(). Get the user friendly version of the group.
views_handler_argument_locale_language::summary_name in modules/locale/views_handler_argument_locale_language.inc
Override the behavior of summary_name(). Get the user friendly version of the language.
views_handler_argument_node_created_day::summary_name in modules/node/views_handler_argument_dates_various.inc
Provide a link to the next level of the view
views_handler_argument_node_created_fulldate::summary_name in modules/node/views_handler_argument_dates_various.inc
Provide a link to the next level of the view

... See full list

File

handlers/views_handler_argument.inc, line 925
@todo.

Class

views_handler_argument
Base class for arguments.

Code

function summary_name($data) {
  $value = $data->{$this->name_alias};
  if (empty($value) && !empty($this->definition['empty field name'])) {
    $value = $this->definition['empty field name'];
  }
  return check_plain($value);
}