function views_handler_filter_string::operator

2 calls to views_handler_filter_string::operator()
views_handler_filter_combine::op_equal in handlers/views_handler_filter_combine.inc
By default things like op_equal uses add_where, that doesn't support complex expressions, so override all operators.
views_handler_filter_string::op_equal in handlers/views_handler_filter_string.inc

File

handlers/views_handler_filter_string.inc, line 251

Class

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

Code

public function operator() {
    return $this->operator == '=' ? 'LIKE' : 'NOT LIKE';
}