You are here

function views_handler::ui_name in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 includes/handlers.inc \views_handler::ui_name()
  2. 7.3 includes/handlers.inc \views_handler::ui_name()

Return a string representing this handler's name in the UI.

9 calls to views_handler::ui_name()
views_handler_area::label in handlers/views_handler_area.inc
Get this field's label.
views_handler_argument_group_by_numeric::ui_name in handlers/views_handler_argument_group_by_numeric.inc
Return a string representing this handler's name in the UI.
views_handler_field_group_by_numeric::ui_name in handlers/views_handler_field_group_by_numeric.inc
Return a string representing this handler's name in the UI.
views_handler_filter::expose_options in handlers/views_handler_filter.inc
Provide default options for exposed filters.
views_handler_filter_group_by_numeric::ui_name in handlers/views_handler_filter_group_by_numeric.inc
Return a string representing this handler's name in the UI.

... See full list

10 methods override views_handler::ui_name()
views_handler_area_broken::ui_name in handlers/views_handler_area.inc
Return a string representing this handler's name in the UI.
views_handler_argument_broken::ui_name in handlers/views_handler_argument.inc
Return a string representing this handler's name in the UI.
views_handler_argument_group_by_numeric::ui_name in handlers/views_handler_argument_group_by_numeric.inc
Return a string representing this handler's name in the UI.
views_handler_field_broken::ui_name in handlers/views_handler_field.inc
Return a string representing this handler's name in the UI.
views_handler_field_group_by_numeric::ui_name in handlers/views_handler_field_group_by_numeric.inc
Return a string representing this handler's name in the UI.

... See full list

File

includes/handlers.inc, line 341
handlers.inc Defines the various handler objects to help build and display views.

Class

views_handler
Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.

Code

function ui_name($short = FALSE) {
  if (!empty($this->options['ui_name'])) {
    $title = check_plain($this->options['ui_name']);
    return $title;
  }
  $title = $short && isset($this->definition['title short']) ? $this->definition['title short'] : $this->definition['title'];
  return t('!group: !title', array(
    '!group' => $this->definition['group'],
    '!title' => $title,
  ));
}