source/Application/Model/SeoEncoderRecomm.php
public function getRecommUri($oRecomm, $iLang = null)
    {
        if (!($sSeoUrl = $this->_loadFromDb('dynamic', $oRecomm->getId(), $iLang))) {
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

            // fetching part of base url
            $sSeoUrl = $this->_getStaticUri(
                $oRecomm->getBaseStdLink($iLang, false),
                $myConfig->getShopId(),
                $iLang
            )
            . $this->_prepareTitle($oRecomm->oxrecommlists__oxtitle->value, false, $iLang);

            // creating unique
            $sSeoUrl = $this->_processSeoUrl($sSeoUrl, $oRecomm->getId(), $iLang);

            // inserting
            $this->_saveToDb('dynamic', $oRecomm->getId(), $oRecomm->getBaseStdLink($iLang), $sSeoUrl, $iLang, $myConfig->getShopId());
        }

        return $sSeoUrl;
    }
public function getRecommUri($oRecomm, $iLang = null)
    {
        if (!($sSeoUrl = $this->_loadFromDb('dynamic', $oRecomm->getId(), $iLang))) {
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

            // fetching part of base url
            $sSeoUrl = $this->_getStaticUri(
                $oRecomm->getBaseStdLink($iLang, false),
                $myConfig->getShopId(),
                $iLang
            )
            . $this->_prepareTitle($oRecomm->oxrecommlists__oxtitle->value, false, $iLang);

            // creating unique
            $sSeoUrl = $this->_processSeoUrl($sSeoUrl, $oRecomm->getId(), $iLang);

            // inserting
            $this->_saveToDb('dynamic', $oRecomm->getId(), $oRecomm->getBaseStdLink($iLang), $sSeoUrl, $iLang, $myConfig->getShopId());
        }

        return $sSeoUrl;
    }
public function getRecommUri ( $ oRecomm , $ iLang = null ) { if ( ! ( $ sSeoUrl = $ this -> _loadFromDb ( 'dynamic' , $ oRecomm -> getId ( ) , $ iLang ) ) ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; // fetching part of base url $ sSeoUrl = $ this -> _getStaticUri ( $ oRecomm -> getBaseStdLink ( $ iLang , false ) , $ myConfig -> getShopId ( ) , $ iLang ) . $ this -> _prepareTitle ( $ oRecomm -> oxrecommlists__oxtitle -> value , false , $ iLang ) ; // creating unique $ sSeoUrl = $ this -> _processSeoUrl ( $ sSeoUrl , $ oRecomm -> getId ( ) , $ iLang ) ; // inserting $ this -> _saveToDb ( 'dynamic' , $ oRecomm -> getId ( ) , $ oRecomm -> getBaseStdLink ( $ iLang ) , $ sSeoUrl , $ iLang , $ myConfig -> getShopId ( ) ) ; } return $ sSeoUrl ; }
Returns SEO uri for tag.

@param \OxidEsales\Eshop\Application\Model\RecommendationList $oRecomm recommendation list object
@param int                                                    $iLang   language

@return string
Returns SEO uri for tag .