src/DcGeneral/Data/FilterBuilder.php
public function build()
    {
        $filter = $this->getMetaModel()->getEmptyFilter();

        if ($this->configuration->getFilter()) {
            $this->calculateSubfilter(
                array
                (
                    'operation' => 'AND',
                    'children' => $this->configuration->getFilter()
                ),
                $filter
            );
        }

        return $filter;
    }
public function build()
    {
        $filter = $this->getMetaModel()->getEmptyFilter();

        if ($this->configuration->getFilter()) {
            $this->calculateSubfilter(
                array
                (
                    'operation' => 'AND',
                    'children' => $this->configuration->getFilter()
                ),
                $filter
            );
        }

        return $filter;
    }
Prepare a filter and return it.

@return IFilter