source/Core/Config.php
public function getWidgetUrl($languageId = null, $inAdmin = null, $urlParameters = [])
    {
        $utilsUrl = Registry::getUtilsUrl();
        $widgetUrl = $this->isSsl() ? $this->getSslShopUrl($languageId) : $this->getShopUrl($languageId, $inAdmin);
        $widgetUrl = $utilsUrl->processUrl($widgetUrl . 'widget.php', false);

        if (!isset($languageId)) {
            $language = Registry::getLang();
            $languageId = $language->getBaseLanguage();
        }
        $urlLang = $utilsUrl->getUrlLanguageParameter($languageId);
        $widgetUrl = $utilsUrl->appendUrl($widgetUrl, $urlLang, true);

        $widgetUrl = $utilsUrl->appendUrl($widgetUrl, $urlParameters, true, true);

        return $widgetUrl;
    }
public function getWidgetUrl($languageId = null, $inAdmin = null, $urlParameters = [])
    {
        $utilsUrl = Registry::getUtilsUrl();
        $widgetUrl = $this->isSsl() ? $this->getSslShopUrl($languageId) : $this->getShopUrl($languageId, $inAdmin);
        $widgetUrl = $utilsUrl->processUrl($widgetUrl . 'widget.php', false);

        if (!isset($languageId)) {
            $language = Registry::getLang();
            $languageId = $language->getBaseLanguage();
        }
        $urlLang = $utilsUrl->getUrlLanguageParameter($languageId);
        $widgetUrl = $utilsUrl->appendUrl($widgetUrl, $urlLang, true);

        $widgetUrl = $utilsUrl->appendUrl($widgetUrl, $urlParameters, true, true);

        return $widgetUrl;
    }
public function getWidgetUrl ( $ languageId = null , $ inAdmin = null , $ urlParameters = [ ] ) { $ utilsUrl = Registry :: getUtilsUrl ( ) ; $ widgetUrl = $ this -> isSsl ( ) ? $ this -> getSslShopUrl ( $ languageId ) : $ this -> getShopUrl ( $ languageId , $ inAdmin ) ; $ widgetUrl = $ utilsUrl -> processUrl ( $ widgetUrl . 'widget.php' , false ) ; if ( ! isset ( $ languageId ) ) { $ language = Registry :: getLang ( ) ; $ languageId = $ language -> getBaseLanguage ( ) ; } $ urlLang = $ utilsUrl -> getUrlLanguageParameter ( $ languageId ) ; $ widgetUrl = $ utilsUrl -> appendUrl ( $ widgetUrl , $ urlLang , true ) ; $ widgetUrl = $ utilsUrl -> appendUrl ( $ widgetUrl , $ urlParameters , true , true ) ; return $ widgetUrl ; }
Returns widget start non SSL URL including widget.php and sid.

@param int   $languageId    language
@param bool  $inAdmin       if admin
@param array $urlParameters parameters which should be added to URL.

@return string
Returns widget start non SSL URL including widget . php and sid .