You are here

public function views_handler_filter::group_multiple_exposed_input in Views (for Drupal 7) 7.3

Options available for a grouped filter which uses checkboxes.

Note: has to be applied several times, one per item selected.

Return value

array The options available for a grouped filter.

File

handlers/views_handler_filter.inc, line 1316
Definitions of views_handler_filter and views_handler_filter_broken.

Class

views_handler_filter
Base class for filters.

Code

public function group_multiple_exposed_input(&$input) {
  if (!empty($input[$this->options['group_info']['identifier']])) {
    return array_filter($input[$this->options['group_info']['identifier']]);
  }
  return array();
}