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

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

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