function views_json_query_handler_sort::ui_name in Views JSON Query 7
UI name.
Overrides views_handler::ui_name
File
- handlers/
views_json_query_handler_sort.inc, line 72 - Base sort handler for views_json_query.
Class
- views_json_query_handler_sort
- @file Base sort handler for views_json_query.
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('!key: !title', array(
'!key' => $this->options['key'],
'!title' => $title,
));
}