You are here

public function views_handler_filter_numeric::operator_options in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_filter_numeric.inc \views_handler_filter_numeric::operator_options()
  2. 6.2 handlers/views_handler_filter_numeric.inc \views_handler_filter_numeric::operator_options()

Provide a list of all the numeric operators

Overrides views_handler_filter::operator_options

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

File

handlers/views_handler_filter_numeric.inc, line 134
Definition of views_handler_filter_numeric.

Class

views_handler_filter_numeric
Simple filter to handle greater than/less than filters

Code

public function operator_options($which = 'title') {
  $options = array();
  foreach ($this
    ->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }
  return $options;
}