You are here

function views_handler_filter_string_compare::op_not in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 6 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::op_not()
  2. 7 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::op_not()

File

includes/views_handler_filter_string_compare.inc, line 279

Class

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

Code

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