26 public function getTagUri($sTag, $iLang = null, $sOxid = null)
44 $iShopId = $this->
getConfig()->getShopId();
46 $sStdUrl = $this->
_trimUrl($sStdUrl);
51 $sOldSeoUrl = $this->
_loadFromDb(
'dynamic', $sObjectId, $iLang);
52 if ($sOldSeoUrl === $sSeoUrl) {
53 $sSeoUrl = $sOldSeoUrl;
63 $this->
_saveToDb(
'dynamic', $sObjectId, $sStdUrl, $sSeoUrl, $iLang, $iShopId);
78 if ($this->_oTagPrepareUtil == null) {
79 $this->_oTagPrepareUtil =
oxNew(
'oxtagcloud');
82 return $sTag = $this->_oTagPrepareUtil->prepareTags($sTag);
96 $sUri =
"cl=tag&searchtag=" . rawurlencode($sTag);
97 if ($blIncludeIndex) {
98 $sUri =
"index.php?" . $sUri;
114 if (!isset($iLang)) {
131 public function getTagPageUrl($sTag, $iPage, $iLang = null, $blFixed =
false)
133 if (!isset($iLang)) {
136 $sStdUrl = $this->
getStdTagUri($sTag) .
'&pgNr=' . $iPage;
137 $sParams = (int) ($iPage + 1);
139 $sStdUrl = $this->
_trimUrl($sStdUrl, $iLang);
140 $sSeoUrl = $this->
getTagUri($sTag, $iLang) . $sParams .
"/";