27 public function getTagUri($sTag, $iLang = null, $sOxid = null)
45 $iShopId = $this->
getConfig()->getShopId();
47 $sStdUrl = $this->
_trimUrl($sStdUrl);
52 $sOldSeoUrl = $this->
_loadFromDb(
'dynamic', $sObjectId, $iLang);
53 if ($sOldSeoUrl === $sSeoUrl) {
54 $sSeoUrl = $sOldSeoUrl;
64 $this->
_saveToDb(
'dynamic', $sObjectId, $sStdUrl, $sSeoUrl, $iLang, $iShopId);
79 if ($this->_oTagPrepareUtil == null) {
80 $this->_oTagPrepareUtil =
oxNew(
'oxtagcloud');
83 return $sTag = $this->_oTagPrepareUtil->prepareTags($sTag);
97 $sUri =
"cl=tag&searchtag=" . rawurlencode($sTag);
98 if ($blIncludeIndex) {
99 $sUri =
"index.php?" . $sUri;
115 if (!isset($iLang)) {
132 public function getTagPageUrl($sTag, $iPage, $iLang = null, $blFixed =
false)
134 if (!isset($iLang)) {
137 $sStdUrl = $this->
getStdTagUri($sTag) .
'&pgNr=' . $iPage;
138 $sParams = (int) ($iPage + 1);
140 $sStdUrl = $this->
_trimUrl($sStdUrl, $iLang);
141 $sSeoUrl = $this->
getTagUri($sTag, $iLang) . $sParams .
"/";