You are here

function ldap_views_handler_filter::op_contains in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_views/handlers/ldap_views_handler_filter.inc \ldap_views_handler_filter::op_contains()
  2. 7.2 ldap_views/handlers/ldap_views_handler_filter.inc \ldap_views_handler_filter::op_contains()
1 call to ldap_views_handler_filter::op_contains()
ldap_views_handler_filter_attribute::op_contains in ldap_views/handlers/ldap_views_handler_filter_attribute.inc
1 method overrides ldap_views_handler_filter::op_contains()
ldap_views_handler_filter_attribute::op_contains in ldap_views/handlers/ldap_views_handler_filter_attribute.inc

File

ldap_views/handlers/ldap_views_handler_filter.inc, line 201
Basic textfield filter to handle string filtering commands including equality, contains, not contains, etc.

Class

ldap_views_handler_filter
@file Basic textfield filter to handle string filtering commands including equality, contains, not contains, etc.

Code

function op_contains($field) {
  $this->query
    ->add_where($this->options['group'], $field, "*{$this->value}*", '=');
}