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

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

@return ChildCustomerGroupQuery The current query, for fluid interface
Filter the query by a related \ CustomerGroup \ Model \ CustomerGroupI18n object