protected function createFilters()
    {
        $filters = [];
        foreach ($this->grid->getConfig()->getColumns() as $column) {
            if ($column->hasFilters()) {
                foreach ($column->getFilters() as $filterConfig) {
                    $filters[$filterConfig->getId()] = new Filter(
                        $filterConfig,
                        $column,
                        $this->grid
                    );
                }
            }
        }
        $this->filters = Collection::make($filters);
    }
protected function createFilters()
    {
        $filters = [];
        foreach ($this->grid->getConfig()->getColumns() as $column) {
            if ($column->hasFilters()) {
                foreach ($column->getFilters() as $filterConfig) {
                    $filters[$filterConfig->getId()] = new Filter(
                        $filterConfig,
                        $column,
                        $this->grid
                    );
                }
            }
        }
        $this->filters = Collection::make($filters);
    }
protected function createFilters ( ) { $ filters = [ ] ; foreach ( $ this -> grid -> getConfig ( ) -> getColumns ( ) as $ column ) { if ( $ column -> hasFilters ( ) ) { foreach ( $ column -> getFilters ( ) as $ filterConfig ) { $ filters [ $ filterConfig -> getId ( ) ] = new Filter ( $ filterConfig , $ column , $ this -> grid ) ; } } } $ this -> filters = Collection :: make ( $ filters ) ; }
Creates filter objects.
Creates filter objects .