You are here

function ldap_views_handler_filter::operator_options 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::operator_options()
  2. 7.2 ldap_views/handlers/ldap_views_handler_filter.inc \ldap_views_handler_filter::operator_options()

Build strings from the operators() for 'select' options

Overrides views_handler_filter::operator_options

1 call to ldap_views_handler_filter::operator_options()
ldap_views_handler_filter::admin_summary in ldap_views/handlers/ldap_views_handler_filter.inc
Display the filter on the administrative summary.

File

ldap_views/handlers/ldap_views_handler_filter.inc, line 93
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 operator_options($which = 'title') {
  $options = array();
  foreach ($this
    ->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }
  return $options;
}