source/Core/UtilsUrl.php
public function processUrl($sUrl, $blFinalUrl = true, $aParams = null, $iLang = null)
    {
        $sUrl = $this->appendUrl($sUrl, $aParams, $blFinalUrl);

        if ($this->isCurrentShopHost($sUrl)) {
            $sUrl = $this->processShopUrl($sUrl, $blFinalUrl, $iLang);
        }

        return $sUrl;
    }
public function processUrl($sUrl, $blFinalUrl = true, $aParams = null, $iLang = null)
    {
        $sUrl = $this->appendUrl($sUrl, $aParams, $blFinalUrl);

        if ($this->isCurrentShopHost($sUrl)) {
            $sUrl = $this->processShopUrl($sUrl, $blFinalUrl, $iLang);
        }

        return $sUrl;
    }
public function processUrl ( $ sUrl , $ blFinalUrl = true , $ aParams = null , $ iLang = null ) { $ sUrl = $ this -> appendUrl ( $ sUrl , $ aParams , $ blFinalUrl ) ; if ( $ this -> isCurrentShopHost ( $ sUrl ) ) { $ sUrl = $ this -> processShopUrl ( $ sUrl , $ blFinalUrl , $ iLang ) ; } return $ sUrl ; }
Performs base url processing - adds required parameters to given url.

@param string $sUrl       url to process.
@param bool   $blFinalUrl should url be finalized or should it end with ? or &amp; (default true).
@param array  $aParams    additional parameters (default null).
@param int    $iLang      url target language (default null).

@return string
Performs base url processing - adds required parameters to given url .