You are here

public function views_handler_filter_fields_compare::fields_operator_options in Views (for Drupal 7) 7.3

Provide a list of all operators.

1 call to views_handler_filter_fields_compare::fields_operator_options()
views_handler_filter_fields_compare::options_form in handlers/views_handler_filter_fields_compare.inc
Provide the basic form which calls through to subforms.

File

handlers/views_handler_filter_fields_compare.inc, line 36
Definition of views_handler_filter_fields_compare.

Class

views_handler_filter_fields_compare
A handler to filter a view using fields comparison.

Code

public function fields_operator_options() {
  return array(
    '<' => t('Is less than'),
    '<=' => t('Is less than or equal to'),
    '=' => t('Is equal to'),
    '<>' => t('Is not equal to'),
    '>=' => t('Is greater than or equal to'),
    '>' => t('Is greater than'),
  );
}