You are here

public function views_handler_filter_string::op_not in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_not()
  2. 6.2 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_not()
1 method overrides views_handler_filter_string::op_not()
views_handler_filter_combine::op_not in handlers/views_handler_filter_combine.inc

File

handlers/views_handler_filter_string.inc, line 355
Definition of views_handler_filter_string.

Class

views_handler_filter_string
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Code

public function op_not($field) {
  $this->query
    ->add_where($this->options['group'], $field, '%' . db_like($this->value) . '%', 'NOT LIKE');
}