You are here

function views_handler_filter_field_variable_compare::fields_operator_options in Views Variable Field 7

Provide a list of all operators.

1 call to views_handler_filter_field_variable_compare::fields_operator_options()
views_handler_filter_field_variable_compare::options_form in includes/views/views_handler_filter_field_variable_compare.inc
Overrides views_handler_filter#options_form().

File

includes/views/views_handler_filter_field_variable_compare.inc, line 34
Definition of views_handler_filter_field_variable_compare.

Class

views_handler_filter_field_variable_compare
A handler to filter a view using field against system variable comparison.

Code

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'),
  );
}