You are here

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

Same name and namespace in other branches
  1. 6.3 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.

2 calls to views_handler::ui_name()
views_handler_filter::expose_options in handlers/views_handler_filter.inc
Provide default options for exposed filters.
views_handler_relationship::label in handlers/views_handler_relationship.inc
Get this field's label.
5 methods override views_handler::ui_name()
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_field_broken::ui_name in handlers/views_handler_field.inc
Return a string representing this handler's name in the UI.
views_handler_filter_broken::ui_name in handlers/views_handler_filter.inc
Return a string representing this handler's name in the UI.
views_handler_relationship_broken::ui_name in handlers/views_handler_relationship.inc
Return a string representing this handler's name in the UI.
views_handler_sort_broken::ui_name in handlers/views_handler_sort.inc
Return a string representing this handler's name in the UI.

File

includes/handlers.inc, line 267
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) {
  $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,
  ));
}