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

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

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