public function views_handler_filter::can_group in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter.inc \views_handler_filter::can_group()
Can this filter be used in OR groups?
Some filters have complicated where clauses that cannot be easily used with OR groups. Some filters must also use HAVING which also makes them not groupable. These filters will end up in a special group if OR grouping is in use.
Return value
bool Whether the filter can be used in OR groups.
1 method overrides views_handler_filter::can_group()
- views_handler_filter_group_by_numeric::can_group in handlers/
views_handler_filter_group_by_numeric.inc - Can this filter be used in OR groups?
File
- handlers/
views_handler_filter.inc, line 1506 - Definitions of views_handler_filter and views_handler_filter_broken.
Class
- views_handler_filter
- Base class for filters.
Code
public function can_group() {
return TRUE;
}