public function getFiltersDefault()
    {
        $filters = [];

        foreach ($this->getColumns() as $column) {
            /* @var $column \ZfcDatagrid\Column\AbstractColumn */
            if ($column->hasFilterDefaultValue() === true) {
                $filter = new Filter();
                $filter->setFromColumn($column, $column->getFilterDefaultValue());
                $filters[] = $filter;

                $column->setFilterActive($filter->getDisplayColumnValue());
            }
        }

        return $filters;
    }
public function getFiltersDefault()
    {
        $filters = [];

        foreach ($this->getColumns() as $column) {
            /* @var $column \ZfcDatagrid\Column\AbstractColumn */
            if ($column->hasFilterDefaultValue() === true) {
                $filter = new Filter();
                $filter->setFromColumn($column, $column->getFilterDefaultValue());
                $filters[] = $filter;

                $column->setFilterActive($filter->getDisplayColumnValue());
            }
        }

        return $filters;
    }
public function getFiltersDefault ( ) { $ filters = [ ] ; foreach ( $ this -> getColumns ( ) as $ column ) { /* @var $column \ZfcDatagrid\Column\AbstractColumn */ if ( $ column -> hasFilterDefaultValue ( ) === true ) { $ filter = new Filter ( ) ; $ filter -> setFromColumn ( $ column , $ column -> getFilterDefaultValue ( ) ) ; $ filters [ ] = $ filter ; $ column -> setFilterActive ( $ filter -> getDisplayColumnValue ( ) ) ; } } return $ filters ; }
Get the default filter conditions defined for the columns.

@return Filter[]
Get the default filter conditions defined for the columns .