You are here

public function views_xml_backend_handler_filter::ui_name in Views XML Backend 7

Same name and namespace in other branches
  1. 6 handlers/views_xml_backend_handler_filter.inc \views_xml_backend_handler_filter::ui_name()

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

Overrides views_handler::ui_name

File

handlers/views_xml_backend_handler_filter.inc, line 173
Contains views_xml_backend_handler_filter.

Class

views_xml_backend_handler_filter
Base filter handler for views_xml_backend.

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'];
  return t('!xpath: !title', array(
    '!xpath' => $this->options['xpath_selector'],
    '!title' => $title,
  ));
}