public function filterByDealerFolderVersion($dealerFolderVersion, $comparison = null)
    {
        if ($dealerFolderVersion instanceof \Dealer\Model\DealerFolderVersion) {
            return $this
                ->addUsingAlias(DealerFolderTableMap::ID, $dealerFolderVersion->getId(), $comparison);
        } elseif ($dealerFolderVersion instanceof ObjectCollection) {
            return $this
                ->useDealerFolderVersionQuery()
                ->filterByPrimaryKeys($dealerFolderVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerFolderVersion() only accepts arguments of type \Dealer\Model\DealerFolderVersion or Collection');
        }
    }
public function filterByDealerFolderVersion($dealerFolderVersion, $comparison = null)
    {
        if ($dealerFolderVersion instanceof \Dealer\Model\DealerFolderVersion) {
            return $this
                ->addUsingAlias(DealerFolderTableMap::ID, $dealerFolderVersion->getId(), $comparison);
        } elseif ($dealerFolderVersion instanceof ObjectCollection) {
            return $this
                ->useDealerFolderVersionQuery()
                ->filterByPrimaryKeys($dealerFolderVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerFolderVersion() only accepts arguments of type \Dealer\Model\DealerFolderVersion or Collection');
        }
    }
public function filterByDealerFolderVersion ( $ dealerFolderVersion , $ comparison = null ) { if ( $ dealerFolderVersion instanceof \ Dealer \ Model \ DealerFolderVersion ) { return $ this -> addUsingAlias ( DealerFolderTableMap :: ID , $ dealerFolderVersion -> getId ( ) , $ comparison ) ; } elseif ( $ dealerFolderVersion instanceof ObjectCollection ) { return $ this -> useDealerFolderVersionQuery ( ) -> filterByPrimaryKeys ( $ dealerFolderVersion -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByDealerFolderVersion() only accepts arguments of type \Dealer\Model\DealerFolderVersion or Collection' ) ; } }
Filter the query by a related \Dealer\Model\DealerFolderVersion object

@param \Dealer\Model\DealerFolderVersion|ObjectCollection $dealerFolderVersion  the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildDealerFolderQuery The current query, for fluid interface
Filter the query by a related \ Dealer \ Model \ DealerFolderVersion object