function views_handler_filter::operator_options

3.x views_handler_filter.inc views_handler_filter::operator_options()
2.x views_handler_filter.inc views_handler_filter::operator_options()

Provide a list of options for the default operator form. Should be overridden by classes that don't override operator_form

2 calls to views_handler_filter::operator_options()
views_handler_filter::can_build_group in handlers/views_handler_filter.inc
Determine if a filter can be converted into a group. Only exposed filters with operators available can be converted into groups.
views_handler_filter::operator_form in handlers/views_handler_filter.inc
Options form subform for setting the operator.
4 methods override views_handler_filter::operator_options()
views_handler_filter_equality::operator_options in handlers/views_handler_filter_equality.inc
Provide simple equality operator
views_handler_filter_in_operator::operator_options in handlers/views_handler_filter_in_operator.inc
Build strings from the operators() for 'select' options
views_handler_filter_numeric::operator_options in handlers/views_handler_filter_numeric.inc
Provide a list of all the numeric operators
views_handler_filter_string::operator_options in handlers/views_handler_filter_string.inc
Build strings from the operators() for 'select' options

File

handlers/views_handler_filter.inc, line 297
@todo.

Class

views_handler_filter
Base class for filters.

Code

function operator_options() {
  return array();
}