library/Garp/Spawn/Model/Binding/Factory.php
protected function _areModelIdsSortedByRule(array $modelIds) {
        $rules = $this->_getRules();

        foreach ($modelIds as $modelId) {
            $ruleNumber = array_search($modelId, $rules);
            if ($ruleNumber !== false) {
                return $rules[$ruleNumber] === $modelIds[$ruleNumber];
            }
        }
    }
protected function _areModelIdsSortedByRule(array $modelIds) {
        $rules = $this->_getRules();

        foreach ($modelIds as $modelId) {
            $ruleNumber = array_search($modelId, $rules);
            if ($ruleNumber !== false) {
                return $rules[$ruleNumber] === $modelIds[$ruleNumber];
            }
        }
    }
protected function _areModelIdsSortedByRule ( array $ modelIds ) { $ rules = $ this -> _getRules ( ) ; foreach ( $ modelIds as $ modelId ) { $ ruleNumber = array_search ( $ modelId , $ rules ) ; if ( $ ruleNumber !== false ) { return $ rules [ $ ruleNumber ] === $ modelIds [ $ ruleNumber ] ; } } }
Whether modelId sorting is coherent with the egocentric sorting of rules.
@return Boolean
Whether modelId sorting is coherent with the egocentric sorting of rules .