/** * Returns raw recommlist seo url * * @param int $iLang language id * * @return string */ public function getBaseSeoLink($iLang) { return oxSeoEncoderArticle::getInstance()->getArticleUrl($this, $iLang, $iLinkType); }
/** * Returns raw article seo url * * @param int $iLang language id * @param bool $blMain force to return main url [optional] * * @return string */ public function getBaseSeoLink($iLang, $blMain = false) { $oEncoder = oxSeoEncoderArticle::getInstance(); if (!$blMain) { return $oEncoder->getArticleUrl($this, $iLang, $this->getLinkType()); } return $oEncoder->getArticleMainUrl($this, $iLang); }