protected function initializeFiltering(ContextInterface $context)
    {
        $activeFilters = $context->getActiveFilters();

        foreach ($activeFilters as $activeFilter) {
            $filterName = $activeFilter->getFilterName();
            if ($this->table->hasFilter($filterName)) {
                $this->table->getFilter($filterName)->applyFilter($this, $activeFilter);
            }
        }
    }
protected function initializeFiltering(ContextInterface $context)
    {
        $activeFilters = $context->getActiveFilters();

        foreach ($activeFilters as $activeFilter) {
            $filterName = $activeFilter->getFilterName();
            if ($this->table->hasFilter($filterName)) {
                $this->table->getFilter($filterName)->applyFilter($this, $activeFilter);
            }
        }
    }
protected function initializeFiltering ( ContextInterface $ context ) { $ activeFilters = $ context -> getActiveFilters ( ) ; foreach ( $ activeFilters as $ activeFilter ) { $ filterName = $ activeFilter -> getFilterName ( ) ; if ( $ this -> table -> hasFilter ( $ filterName ) ) { $ this -> table -> getFilter ( $ filterName ) -> applyFilter ( $ this , $ activeFilter ) ; } } }
Initializes filtering by applying all active filters through the related filter types.

@param ContextInterface $context
Initializes filtering by applying all active filters through the related filter types .