Get the filter data.

@return array
552422
protected function _getFilterData()
    {
        $rawFilterData = $this->request->getData();
        $filterData = [];
        foreach ($this->filterFields as $filterField => $options) {
            if (isset($rawFilterData[$filterField]) && $rawFilterData[$filterField] !== '') {
                $filterData[$filterField] = $rawFilterData[$filterField];
            }
        }

        return $filterData;
    }
303503
public function getData()
    {
        $fieldsets = $this->grid->fieldsets;
        $controls  = [];
        foreach ($fieldsets as $fieldset) {
            foreach ($fieldset->controls() as $control) {
                array_push($controls, $control->name);
            }
        }
        $keys = $this->resolveWithMultiples($controls);
        return array_only(inputs(), $keys);
    }
728325
public function getFilterCollection()
    {
        if (null === $this->filterCollection) {
            $this->filterCollection = new Filter\FilterCollection($this);
        }

        return $this->filterCollection;
    }
1210608
public function getFilters(): Collection
    {
        $filters = collect();
        foreach ($this->filters() as $filter) {
            $filter = new $filter($this);
            $filters->push($filter);
        }

        return $filters;
    }
283882
public function onFilterGetOptions()
    {
        $this->defineFilterScopes();

        $searchQuery = post('search');
        if (!$scopeName = post('scopeName')) {
            return;
        }

        $scope = $this->getScope($scopeName);
        $activeKeys = $scope->value ? array_keys($scope->value) : [];
        $available = $this->getAvailableOptions($scope, $searchQuery);
        $active = $searchQuery ? [] : $this->filterActiveOptions($activeKeys, $available);

        return [
            'scopeName' => $scopeName,
            'options' => [
                'available' => $this->optionsToAjax($available),
                'active'    => $this->optionsToAjax($active),
            ]
        ];
    }
905466
protected function getFilterArray()
    {
        return array_merge(parent::getFilterArray(), [
      self::ARGUMENT_FILTER_OFFSET => $this->arguments[self::ARGUMENT_FILTER_OFFSET],
      self::ARGUMENT_FILTER_LIMIT => $this->arguments[self::ARGUMENT_FILTER_LIMIT],
      self::ARGUMENT_FILTER_CHILDS => $this->arguments[self::ARGUMENT_FILTER_CHILDS],
      self::ARGUMENT_FILTER_TEXT => $this->arguments[self::ARGUMENT_FILTER_TEXT],
      self::ARGUMENT_FILTER_DATESTART => $this->checkDateTime($this->arguments[self::ARGUMENT_FILTER_DATESTART]),
      self::ARGUMENT_FILTER_DATEEND => $this->checkDateTime($this->arguments[self::ARGUMENT_FILTER_DATEEND]),
      self::ARGUMENT_FILTER_ZIPSTART => $this->arguments[self::ARGUMENT_FILTER_ZIPSTART],
      self::ARGUMENT_FILTER_ZIPEND => $this->arguments[self::ARGUMENT_FILTER_ZIPEND],
      self::ARGUMENT_FILTER_LOCATION => $this->arguments[self::ARGUMENT_FILTER_LOCATION],
      self::ARGUMENT_FILTER_EVENTTYPEID => $this->arguments[self::ARGUMENT_FILTER_EVENTTYPEID],
      self::ARGUMENT_FILTER_PRIVATEEVENTS => $this->arguments[self::ARGUMENT_FILTER_PRIVATEEVENTS]
    ]);
    }
97119
public function getData()
    {
        $this->fetchData();

        $this->preProcessData();

        $this->applyFilters();

        $this->postProcessData();

        return $this->output;
    }
818556
public function getAllFilters()
    {
        $filters = [];

        foreach ($this->filters as $filter) {
            $filters = array_merge($filters, $filter->getAllFilters());
        }

        return $filters;
    }
954947
public function get_filter_values($filter) {
        if ($allvalues = (array) $this->get_config('filtervalues')) {
            if (isset($allvalues[$filter])) {
                return $allvalues[$filter];
            }
        }

        return [];
    }
815266
public function getFilters()
    {
        return [
            new Twig_SimpleFilter('add_filter_value', [$this->urlBuilder, 'addFilterValue']),
            new Twig_SimpleFilter('remove_filter_value', [$this->urlBuilder, 'removeFilterValue']),
            new Twig_SimpleFilter('remove_price_range_filter', [$this->urlBuilder, 'removePriceRangeFilter']),
            new Twig_SimpleFilter('add_prev_page', [$this->urlBuilder, 'addPrevPage']),
            new Twig_SimpleFilter('add_page', [$this->urlBuilder, 'addPage']),
            new Twig_SimpleFilter('add_next_page', [$this->urlBuilder, 'addNextPage']),
            new Twig_SimpleFilter('add_sort_by', [$this->urlBuilder, 'addSortBy']),
        ];
    }
821171
public function getTagFilters()
    {
        if ($this->tagFilters === ['none']) {
            $result = null;
        } elseif ($this->tagFilters === ['all']) {
            $result = [];
        } else {
            $result = $this->tagFilters;
        }

        return $result;
    }
325937
public function getFilter()
    {
        if (null == $this->filter) {
            $this->filter = new Filter([
                'serviceLocator' => $this->getServiceLocator(),
                'id'             => $this->getId(),
            ]);
        }

        return $this->filter;
    }
1322141
public function filter()
    {
        return (object) [
            'type' => $this->_indexType,
            'filters' => $this->_comparisons,
            'order' => $this->_orderBy,
            'reverse' => $this->_reverse,
            'offset' => $this->_offset,
            'length' => $this->_length
        ];
    }
135904
public function activeFilters()
    {
        $state = $this->activeState();

        $result = [];
        foreach ($state->activeFilters() as $name) {
            if (!isset($this->filters[$name])) {
                //No such filter
                continue;
            }

            $filter = $this->filters[$name];
            $value = $state->getValue($name);

            if ($filter->isApplicable($value)) {
                $result[$name] = $filter->withValue($value);
            }
        }

        return $result;
    }
522558
protected function getData()
    {
        $data = $this->unmaskedData;

        if ($this->isMasked) {
            $data = $this->mask($data);
        }

        return $data;
    }
1178624
public function getData()
    {
        //Create filters for all data vars
        if (isset($this->data) && !empty($this->data) && is_array($this->data)) {
            foreach ($this->data as $key => $value) {
                $this->data[$key] = apply_filters('Municipio/' . $key, $value);
            }
        }

        //Old depricated filter
        $this->data = apply_filters_deprecated('HbgBlade/data', array($this->data), "2.0", "Municipio/viewData");

        //General filter
        return apply_filters('Municipio/viewData', $this->data);
    }
918520
public function getWhereParameters()
    {
        $params = [];
        foreach ($this->filters as $filter) {
            $params = array_merge($params, $filter->getParameters());
        }

        return $params;
    }