public function views_handler_filter_string::op_equal in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_equal()
- 6.2 handlers/views_handler_filter_string.inc \views_handler_filter_string::op_equal()
1 method overrides views_handler_filter_string::op_equal()
- 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.
File
- handlers/
views_handler_filter_string.inc, line 275 - 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_equal($field) {
$this->query
->add_where($this->options['group'], $field, $this->value, $this
->operator());
}