src/Filter/Setting/Condition/ConditionAnd.php
public function prepareRules(IFilter $objFilter, $arrFilterUrl)
    {
        $objSubFilter = new Filter($this->getMetaModel());

        foreach ($this->arrChildren as $objChildSetting) {
            $objChildSetting->prepareRules($objSubFilter, $arrFilterUrl);
        }

        $objFilterRule = new FilterRuleAnd();
        $objFilterRule->addChild($objSubFilter);

        $objFilter->addFilterRule($objFilterRule);
    }
public function prepareRules(IFilter $objFilter, $arrFilterUrl)
    {
        $objSubFilter = new Filter($this->getMetaModel());

        foreach ($this->arrChildren as $objChildSetting) {
            $objChildSetting->prepareRules($objSubFilter, $arrFilterUrl);
        }

        $objFilterRule = new FilterRuleAnd();
        $objFilterRule->addChild($objSubFilter);

        $objFilter->addFilterRule($objFilterRule);
    }
public function prepareRules ( IFilter $ objFilter , $ arrFilterUrl ) { $ objSubFilter = new Filter ( $ this -> getMetaModel ( ) ) ; foreach ( $ this -> arrChildren as $ objChildSetting ) { $ objChildSetting -> prepareRules ( $ objSubFilter , $ arrFilterUrl ) ; } $ objFilterRule = new FilterRuleAnd ( ) ; $ objFilterRule -> addChild ( $ objSubFilter ) ; $ objFilter -> addFilterRule ( $ objFilterRule ) ; }
{@inheritdoc}
{