You are here

function views_xml_backend_handler_filter_numeric::ui_name in Views XML Backend 6

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

File

handlers/views_xml_backend_handler_filter_numeric.inc, line 54
Numeric filter handler for views_xml_backend.

Class

views_xml_backend_handler_filter_numeric
@file Numeric filter handler for views_xml_backend.

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