Model/Base/CustomerCustomerGroup.php
public function getCustomer(ConnectionInterface $con = null)
    {
        if ($this->aCustomer === null && ($this->customer_id !== null)) {
            $this->aCustomer = CustomerQuery::create()->findPk($this->customer_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aCustomer->addCustomerCustomerGroups($this);
             */
        }

        return $this->aCustomer;
    }
public function getCustomer(ConnectionInterface $con = null)
    {
        if ($this->aCustomer === null && ($this->customer_id !== null)) {
            $this->aCustomer = CustomerQuery::create()->findPk($this->customer_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aCustomer->addCustomerCustomerGroups($this);
             */
        }

        return $this->aCustomer;
    }
public function getCustomer ( ConnectionInterface $ con = null ) { if ( $ this -> aCustomer === null && ( $ this -> customer_id !== null ) ) { $ this -> aCustomer = CustomerQuery :: create ( ) -> findPk ( $ this -> customer_id , $ con ) ; /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aCustomer->addCustomerCustomerGroups($this);
             */ } return $ this -> aCustomer ; }
Get the associated ChildCustomer object

@param      ConnectionInterface $con Optional Connection object.
@return                 ChildCustomer The associated ChildCustomer object.
@throws PropelException
Get the associated ChildCustomer object