source/Application/Model/VariantHandler.php
protected function _cleanFilter($aFilter)
    {
        $aCleanFilter = false;
        if (is_array($aFilter) && count($aFilter)) {
            foreach ($aFilter as $iKey => $sFilter) {
                if ($sFilter) {
                    $aCleanFilter[$iKey] = $sFilter;
                }
            }
        }

        return $aCleanFilter;
    }
protected function _cleanFilter($aFilter)
    {
        $aCleanFilter = false;
        if (is_array($aFilter) && count($aFilter)) {
            foreach ($aFilter as $iKey => $sFilter) {
                if ($sFilter) {
                    $aCleanFilter[$iKey] = $sFilter;
                }
            }
        }

        return $aCleanFilter;
    }
protected function _cleanFilter ( $ aFilter ) { $ aCleanFilter = false ; if ( is_array ( $ aFilter ) && count ( $ aFilter ) ) { foreach ( $ aFilter as $ iKey => $ sFilter ) { if ( $ sFilter ) { $ aCleanFilter [ $ iKey ] = $ sFilter ; } } } return $ aCleanFilter ; }
Cleans up user given filter. If filter was empty - returns false

@param array $aFilter user given filter

@return array | bool
Cleans up user given filter . If filter was empty - returns false