You are here

public function views_handler_filter_combine::op_not_regex in Views (for Drupal 7) 7.3

Overrides views_handler_filter_string::op_not_regex

File

handlers/views_handler_filter_combine.inc, line 207
Definition of views_handler_filter_combine.

Class

views_handler_filter_combine
Filter handler which allows to search on multiple fields.

Code

public function op_not_regex($field) {
  $placeholder = $this
    ->placeholder();
  $this->query
    ->add_where_expression($this->options['group'], "{$field} NOT RLIKE {$placeholder}", array(
    $placeholder => $this->value,
  ));
}