function views_handler_filter_string::op_not_ends in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_not_ends()
- 7.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_not_ends()
File
- handlers/
views_handler_filter_string.inc, line 284
Class
- views_handler_filter_string
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Code
function op_not_ends($field, $upper) {
$this->query
->add_where($this->options['group'], "{$upper}({$field}) NOT LIKE {$upper}('%%%s')", $this->value);
}