function views_handler_filter_combine::op_contains
3.x views_handler_filter_combine.inc | views_handler_filter_combine::op_contains($field) |
Overrides views_handler_filter_string::op_contains
File
- handlers/
views_handler_filter_combine.inc, line 92 - Definition of views_handler_filter_combine.
Class
- views_handler_filter_combine
- Filter handler which allows to search on multiple fields.
Code
function op_contains($field) {
$placeholder = $this->placeholder();
$this->query->add_where_expression($this->options['group'], "$field LIKE $placeholder", array($placeholder => '%' . db_like($this->value) . '%'));
}