source/Core/UtilsUrl.php
public function processShopUrl($sUrl, $blFinalUrl = true, $iLang = null)
    {
        $aAddParams = $this->getAddUrlParams();

        $sUrl = $this->appendUrl($sUrl, $aAddParams, $blFinalUrl);
        $sUrl = \OxidEsales\Eshop\Core\Registry::getLang()->processUrl($sUrl, $iLang);
        $sUrl = \OxidEsales\Eshop\Core\Registry::getSession()->processUrl($sUrl);

        if ($blFinalUrl) {
            $sUrl = $this->rightTrimAmp($sUrl);
        }

        return $sUrl;
    }
public function processShopUrl($sUrl, $blFinalUrl = true, $iLang = null)
    {
        $aAddParams = $this->getAddUrlParams();

        $sUrl = $this->appendUrl($sUrl, $aAddParams, $blFinalUrl);
        $sUrl = \OxidEsales\Eshop\Core\Registry::getLang()->processUrl($sUrl, $iLang);
        $sUrl = \OxidEsales\Eshop\Core\Registry::getSession()->processUrl($sUrl);

        if ($blFinalUrl) {
            $sUrl = $this->rightTrimAmp($sUrl);
        }

        return $sUrl;
    }
public function processShopUrl ( $ sUrl , $ blFinalUrl = true , $ iLang = null ) { $ aAddParams = $ this -> getAddUrlParams ( ) ; $ sUrl = $ this -> appendUrl ( $ sUrl , $ aAddParams , $ blFinalUrl ) ; $ sUrl = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> processUrl ( $ sUrl , $ iLang ) ; $ sUrl = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> processUrl ( $ sUrl ) ; if ( $ blFinalUrl ) { $ sUrl = $ this -> rightTrimAmp ( $ sUrl ) ; } return $ sUrl ; }
Adds additional shop url parameters, session id, language id when needed.

@param string $sUrl       url to process.
@param bool   $blFinalUrl should url be finalized or should it end with ? or &amp;.
@param int    $iLang      url target language.

@return string
Adds additional shop url parameters session id language id when needed .