protected function views_aggregator_plugin_style_table::apply_exposed_filters in Views Aggregator Plus 7
Apply the exposed filters to the view so we get the correct result set.
Parameters
object $view: A view object.
1 call to views_aggregator_plugin_style_table::apply_exposed_filters()
- views_aggregator_plugin_style_table::execute_view_without_pager in views/
views_aggregator_plugin_style_table.inc - Strips the pager off an existing View, then executes and renders it.
File
Class
- views_aggregator_plugin_style_table
- Style plugin to render each item as a row in a table.
Code
protected function apply_exposed_filters(&$view) {
$filters = $view->display_handler->display->handler->handlers['filter'];
// Loop through the filters and UNexpose them.
foreach ($filters as $filter_handler) {
$filter_handler->options['exposed'] = FALSE;
}
}