source/Application/Component/UserComponent.php
protected function _getDelAddressData()
    {
        // if user company name, user name and additional info has special chars
        $blShowShipAddressParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('blshowshipaddress');
        $blShowShipAddressVariable = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('blshowshipaddress');
        $sDeliveryAddressParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('deladr', true);
        $aDeladr = ($blShowShipAddressParameter || $blShowShipAddressVariable) ? $sDeliveryAddressParameter : [];
        $aDelAdress = $aDeladr;

        if (is_array($aDeladr)) {
            // checking if data is filled
            if (isset($aDeladr['oxaddress__oxsal'])) {
                unset($aDeladr['oxaddress__oxsal']);
            }
            if (!count($aDeladr) || implode('', $aDeladr) == '') {
                // resetting to avoid empty records
                $aDelAdress = [];
            }
        }

        return $aDelAdress;
    }
protected function _getDelAddressData()
    {
        // if user company name, user name and additional info has special chars
        $blShowShipAddressParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('blshowshipaddress');
        $blShowShipAddressVariable = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('blshowshipaddress');
        $sDeliveryAddressParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('deladr', true);
        $aDeladr = ($blShowShipAddressParameter || $blShowShipAddressVariable) ? $sDeliveryAddressParameter : [];
        $aDelAdress = $aDeladr;

        if (is_array($aDeladr)) {
            // checking if data is filled
            if (isset($aDeladr['oxaddress__oxsal'])) {
                unset($aDeladr['oxaddress__oxsal']);
            }
            if (!count($aDeladr) || implode('', $aDeladr) == '') {
                // resetting to avoid empty records
                $aDelAdress = [];
            }
        }

        return $aDelAdress;
    }
protected function _getDelAddressData ( ) { // if user company name, user name and additional info has special chars $ blShowShipAddressParameter = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'blshowshipaddress' ) ; $ blShowShipAddressVariable = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'blshowshipaddress' ) ; $ sDeliveryAddressParameter = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'deladr' , true ) ; $ aDeladr = ( $ blShowShipAddressParameter || $ blShowShipAddressVariable ) ? $ sDeliveryAddressParameter : [ ] ; $ aDelAdress = $ aDeladr ; if ( is_array ( $ aDeladr ) ) { // checking if data is filled if ( isset ( $ aDeladr [ 'oxaddress__oxsal' ] ) ) { unset ( $ aDeladr [ 'oxaddress__oxsal' ] ) ; } if ( ! count ( $ aDeladr ) || implode ( '' , $ aDeladr ) == '' ) { // resetting to avoid empty records $ aDelAdress = [ ] ; } } return $ aDelAdress ; }
Returns delivery address from request. Before returning array is checked if
all needed data is there

@return array
Returns delivery address from request . Before returning array is checked if all needed data is there