1 views_handler_filter_numeric.inc views_handler_filter_numeric::operator_options($which = 'title')

Provide a list of all the numeric operators

Overrides views_handler_filter::operator_options

File

core/modules/views/handlers/views_handler_filter_numeric.inc, line 117
Definition of views_handler_filter_numeric.

Class

views_handler_filter_numeric
Simple filter to handle greater than/less than filters

Code

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

  return $options;
}