source/Application/Model/SeoEncoderArticle.php
public function getArticleRecommUri($oArticle, $iLang)
    {
        $sSeoUri = null;
        if ($oRecomm = $this->_getRecomm($oArticle, $iLang)) {
            //load details link from DB
            if (!($sSeoUri = $this->_loadFromDb('oxarticle', $oArticle->getId(), $iLang, null, $oRecomm->getId(), true))) {
                $oArticle = $this->_getProductForLang($oArticle, $iLang);

                // create title part for uri
                $sTitle = $this->_prepareArticleTitle($oArticle);

                // create uri for all categories
                $sSeoUri = \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Application\Model\SeoEncoderRecomm::class)->getRecommUri($oRecomm, $iLang);
                $sSeoUri = $this->_processSeoUrl($sSeoUri . $sTitle, $oArticle->getId(), $iLang);

                $aStdParams = ['recommid' => $oRecomm->getId(), 'listtype' => $this->_getListType()];
                $this->_saveToDb(
                    'oxarticle',
                    $oArticle->getId(),
                    \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->appendUrl(
                        $oArticle->getBaseStdLink($iLang),
                        $aStdParams
                    ),
                    $sSeoUri,
                    $iLang,
                    null,
                    0,
                    $oRecomm->getId()
                );
            }
        }

        return $sSeoUri;
    }
public function getArticleRecommUri($oArticle, $iLang)
    {
        $sSeoUri = null;
        if ($oRecomm = $this->_getRecomm($oArticle, $iLang)) {
            //load details link from DB
            if (!($sSeoUri = $this->_loadFromDb('oxarticle', $oArticle->getId(), $iLang, null, $oRecomm->getId(), true))) {
                $oArticle = $this->_getProductForLang($oArticle, $iLang);

                // create title part for uri
                $sTitle = $this->_prepareArticleTitle($oArticle);

                // create uri for all categories
                $sSeoUri = \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Application\Model\SeoEncoderRecomm::class)->getRecommUri($oRecomm, $iLang);
                $sSeoUri = $this->_processSeoUrl($sSeoUri . $sTitle, $oArticle->getId(), $iLang);

                $aStdParams = ['recommid' => $oRecomm->getId(), 'listtype' => $this->_getListType()];
                $this->_saveToDb(
                    'oxarticle',
                    $oArticle->getId(),
                    \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->appendUrl(
                        $oArticle->getBaseStdLink($iLang),
                        $aStdParams
                    ),
                    $sSeoUri,
                    $iLang,
                    null,
                    0,
                    $oRecomm->getId()
                );
            }
        }

        return $sSeoUri;
    }
public function getArticleRecommUri ( $ oArticle , $ iLang ) { $ sSeoUri = null ; if ( $ oRecomm = $ this -> _getRecomm ( $ oArticle , $ iLang ) ) { //load details link from DB if ( ! ( $ sSeoUri = $ this -> _loadFromDb ( 'oxarticle' , $ oArticle -> getId ( ) , $ iLang , null , $ oRecomm -> getId ( ) , true ) ) ) { $ oArticle = $ this -> _getProductForLang ( $ oArticle , $ iLang ) ; // create title part for uri $ sTitle = $ this -> _prepareArticleTitle ( $ oArticle ) ; // create uri for all categories $ sSeoUri = \ OxidEsales \ Eshop \ Core \ Registry :: get ( \ OxidEsales \ Eshop \ Application \ Model \ SeoEncoderRecomm :: class ) -> getRecommUri ( $ oRecomm , $ iLang ) ; $ sSeoUri = $ this -> _processSeoUrl ( $ sSeoUri . $ sTitle , $ oArticle -> getId ( ) , $ iLang ) ; $ aStdParams = [ 'recommid' => $ oRecomm -> getId ( ) , 'listtype' => $ this -> _getListType ( ) ] ; $ this -> _saveToDb ( 'oxarticle' , $ oArticle -> getId ( ) , \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsUrl ( ) -> appendUrl ( $ oArticle -> getBaseStdLink ( $ iLang ) , $ aStdParams ) , $ sSeoUri , $ iLang , null , 0 , $ oRecomm -> getId ( ) ) ; } } return $ sSeoUri ; }
Returns SEO uri for passed article and active tag

@deprecated since v5.3 (2016-06-17); Listmania will be moved to an own module.

@param \OxidEsales\Eshop\Application\Model\Article $oArticle article object
@param int                                         $iLang    language id

@return string
Returns SEO uri for passed article and active tag