src/ShopBundle/pkgExtranet/objects/db/TShopDataExtranetUser.class.php
public function GetCustomerNumber()
    {
        $sCustNr = parent::GetCustomerNumber();
        if (empty($sCustNr)) {
            $oShop = TdbShop::GetInstance();
            $sCustNr = $oShop->GetNextFreeCustomerNumber();
            $aData = $this->sqlData;
            $aData['customer_number'] = $sCustNr;
            $this->LoadFromRow($aData);
        }

        return $this->fieldCustomerNumber;
    }
public function GetCustomerNumber()
    {
        $sCustNr = parent::GetCustomerNumber();
        if (empty($sCustNr)) {
            $oShop = TdbShop::GetInstance();
            $sCustNr = $oShop->GetNextFreeCustomerNumber();
            $aData = $this->sqlData;
            $aData['customer_number'] = $sCustNr;
            $this->LoadFromRow($aData);
        }

        return $this->fieldCustomerNumber;
    }
public function GetCustomerNumber ( ) { $ sCustNr = parent :: GetCustomerNumber ( ) ; if ( empty ( $ sCustNr ) ) { $ oShop = TdbShop :: GetInstance ( ) ; $ sCustNr = $ oShop -> GetNextFreeCustomerNumber ( ) ; $ aData = $ this -> sqlData ; $ aData [ 'customer_number' ] = $ sCustNr ; $ this -> LoadFromRow ( $ aData ) ; } return $ this -> fieldCustomerNumber ; }
returns the users customer number, if set.

@return string
returns the users customer number if set .