public function filterByCustomer($customer, $comparison = Criteria::EQUAL)
    {
        return $this
            ->useCustomerCustomerGroupQuery()
            ->filterByCustomer($customer, $comparison)
            ->endUse();
    }
public function filterByCustomer($customer, $comparison = Criteria::EQUAL)
    {
        return $this
            ->useCustomerCustomerGroupQuery()
            ->filterByCustomer($customer, $comparison)
            ->endUse();
    }
public function filterByCustomer ( $ customer , $ comparison = Criteria :: EQUAL ) { return $ this -> useCustomerCustomerGroupQuery ( ) -> filterByCustomer ( $ customer , $ comparison ) -> endUse ( ) ; }
Filter the query by a related Customer object
using the customer_customer_group table as cross reference

@param Customer $customer 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 Customer object using the customer_customer_group table as cross reference