src/Filter/Setting/Collection.php
public function getParameterFilterWidgets(
        $arrFilterUrl,
        $arrJumpTo,
        FrontendFilterOptions $objFrontendFilterOptions
    ) {
        $arrParams = array();

        // Get the id with all enabled filter.
        $objFilter = $this->getMetaModel()->getEmptyFilter();
        $this->addRules($objFilter, $arrFilterUrl);

        $arrBaseIds = $objFilter->getMatchingIds();

        foreach ($this->arrSettings as $objSetting) {
            if ($objSetting->get('skipfilteroptions')) {
                $objFilter = $this->getMetaModel()->getEmptyFilter();
                $this->addRules($objFilter, $arrFilterUrl, array($objSetting->get('id')));
                $arrIds = $objFilter->getMatchingIds();
            } else {
                $arrIds = $arrBaseIds;
            }

            $arrParams = array_merge(
                $arrParams,
                $objSetting->getParameterFilterWidgets($arrIds, $arrFilterUrl, $arrJumpTo, $objFrontendFilterOptions)
            );
        }

        return $arrParams;
    }
public function getParameterFilterWidgets(
        $arrFilterUrl,
        $arrJumpTo,
        FrontendFilterOptions $objFrontendFilterOptions
    ) {
        $arrParams = array();

        // Get the id with all enabled filter.
        $objFilter = $this->getMetaModel()->getEmptyFilter();
        $this->addRules($objFilter, $arrFilterUrl);

        $arrBaseIds = $objFilter->getMatchingIds();

        foreach ($this->arrSettings as $objSetting) {
            if ($objSetting->get('skipfilteroptions')) {
                $objFilter = $this->getMetaModel()->getEmptyFilter();
                $this->addRules($objFilter, $arrFilterUrl, array($objSetting->get('id')));
                $arrIds = $objFilter->getMatchingIds();
            } else {
                $arrIds = $arrBaseIds;
            }

            $arrParams = array_merge(
                $arrParams,
                $objSetting->getParameterFilterWidgets($arrIds, $arrFilterUrl, $arrJumpTo, $objFrontendFilterOptions)
            );
        }

        return $arrParams;
    }
public function getParameterFilterWidgets ( $ arrFilterUrl , $ arrJumpTo , FrontendFilterOptions $ objFrontendFilterOptions ) { $ arrParams = array ( ) ; // Get the id with all enabled filter. $ objFilter = $ this -> getMetaModel ( ) -> getEmptyFilter ( ) ; $ this -> addRules ( $ objFilter , $ arrFilterUrl ) ; $ arrBaseIds = $ objFilter -> getMatchingIds ( ) ; foreach ( $ this -> arrSettings as $ objSetting ) { if ( $ objSetting -> get ( 'skipfilteroptions' ) ) { $ objFilter = $ this -> getMetaModel ( ) -> getEmptyFilter ( ) ; $ this -> addRules ( $ objFilter , $ arrFilterUrl , array ( $ objSetting -> get ( 'id' ) ) ) ; $ arrIds = $ objFilter -> getMatchingIds ( ) ; } else { $ arrIds = $ arrBaseIds ; } $ arrParams = array_merge ( $ arrParams , $ objSetting -> getParameterFilterWidgets ( $ arrIds , $ arrFilterUrl , $ arrJumpTo , $ objFrontendFilterOptions ) ) ; } return $ arrParams ; }
{@inheritdoc}
{