src/ShopDhlPackstationBundle/pkgExtranet/objects/db/TPkgShopDhlPackstation_DataExtranetUser.class.php
public function DHLPackStationStatusChanged($aAddressData)
    {
        $bChangeDHLPackStation = false;
        $aAddressData = $this->fillPackStationFieldValue($aAddressData);
        $bIsDHLPackStation = ('0' == $aAddressData['is_dhl_packstation']) ? false : true;
        $oOldAddress = clone $this->GetShippingAddress();
        if ($bIsDHLPackStation != $oOldAddress->fieldIsDhlPackstation) {
            $bChangeDHLPackStation = true;
        }

        return $bChangeDHLPackStation;
    }
public function DHLPackStationStatusChanged($aAddressData)
    {
        $bChangeDHLPackStation = false;
        $aAddressData = $this->fillPackStationFieldValue($aAddressData);
        $bIsDHLPackStation = ('0' == $aAddressData['is_dhl_packstation']) ? false : true;
        $oOldAddress = clone $this->GetShippingAddress();
        if ($bIsDHLPackStation != $oOldAddress->fieldIsDhlPackstation) {
            $bChangeDHLPackStation = true;
        }

        return $bChangeDHLPackStation;
    }
public function DHLPackStationStatusChanged ( $ aAddressData ) { $ bChangeDHLPackStation = false ; $ aAddressData = $ this -> fillPackStationFieldValue ( $ aAddressData ) ; $ bIsDHLPackStation = ( '0' == $ aAddressData [ 'is_dhl_packstation' ] ) ? false : true ; $ oOldAddress = clone $ this -> GetShippingAddress ( ) ; if ( $ bIsDHLPackStation != $ oOldAddress -> fieldIsDhlPackstation ) { $ bChangeDHLPackStation = true ; } return $ bChangeDHLPackStation ; }
check if address type status changed.

@param array $aAddressData

@return bool
check if address type status changed .