src/ShopDhlPackstationBundle/pkgExtranet/objects/db/TPkgShopDhlPackstation_DataExtranetUser.class.php
public function UpdateShippingAddress($aAddressData)
    {
        $aAddressData = $this->fillPackStationFieldValue($aAddressData);
        $bChangeDHLPackStation = $this->DHLPackStationStatusChanged($aAddressData);
        $bIsDHLPackStation = ('0' == $aAddressData['is_dhl_packstation']) ? false : true;
        $bUpdated = parent::UpdateShippingAddress($aAddressData);
        if (true === $bUpdated && true === $bChangeDHLPackStation) {
            $oShippingAddress = $this->GetShippingAddress();
            if (false === is_null($oShippingAddress)) {
                $oShippingAddress->SetIsDhlPackstation($bIsDHLPackStation, false);
            }
        }

        return $bUpdated;
    }
public function UpdateShippingAddress($aAddressData)
    {
        $aAddressData = $this->fillPackStationFieldValue($aAddressData);
        $bChangeDHLPackStation = $this->DHLPackStationStatusChanged($aAddressData);
        $bIsDHLPackStation = ('0' == $aAddressData['is_dhl_packstation']) ? false : true;
        $bUpdated = parent::UpdateShippingAddress($aAddressData);
        if (true === $bUpdated && true === $bChangeDHLPackStation) {
            $oShippingAddress = $this->GetShippingAddress();
            if (false === is_null($oShippingAddress)) {
                $oShippingAddress->SetIsDhlPackstation($bIsDHLPackStation, false);
            }
        }

        return $bUpdated;
    }
public function UpdateShippingAddress ( $ aAddressData ) { $ aAddressData = $ this -> fillPackStationFieldValue ( $ aAddressData ) ; $ bChangeDHLPackStation = $ this -> DHLPackStationStatusChanged ( $ aAddressData ) ; $ bIsDHLPackStation = ( '0' == $ aAddressData [ 'is_dhl_packstation' ] ) ? false : true ; $ bUpdated = parent :: UpdateShippingAddress ( $ aAddressData ) ; if ( true === $ bUpdated && true === $ bChangeDHLPackStation ) { $ oShippingAddress = $ this -> GetShippingAddress ( ) ; if ( false === is_null ( $ oShippingAddress ) ) { $ oShippingAddress -> SetIsDhlPackstation ( $ bIsDHLPackStation , false ) ; } } return $ bUpdated ; }
clear field for type change after updating address.

@param array $aAddressData

@return bool
clear field for type change after updating address .