function views_handler::ui_name

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

8 calls to views_handler::ui_name()
views_handler::groupby_form in includes/handlers.inc
Provide a form for aggregation settings.
views_handler_area::label in handlers/views_handler_area.inc
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::ui_name in handlers/views_handler_field.inc
Return a string representing this handler's name in the UI.
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

9 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::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.

... See full list

File

includes/handlers.inc, line 278

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

public 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'];
    if (empty($this->definition['group'])) {
        return $title;
    }
    return t('!group: !title', array(
        '!group' => $this->definition['group'],
        '!title' => $title,
    ));
}