1 views_handler_filter_numeric.inc views_handler_filter_numeric::operator_values($values = 1)

File

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

Class

views_handler_filter_numeric
Simple filter to handle greater than/less than filters

Code

function operator_values($values = 1) {
  $options = array();
  foreach ($this->operators() as $id => $info) {
    if ($info['values'] == $values) {
      $options[] = $id;
    }
  }

  return $options;
}