42 public function getTagUri( $sTag, $iLang = null, $sOxid = null )
60 $iShopId = $this->
getConfig()->getShopId();
62 $sStdUrl = $this->
_trimUrl( $sStdUrl );
67 $sOldSeoUrl = $this->
_loadFromDb(
'dynamic', $sObjectId, $iLang );
68 if ( $sOldSeoUrl === $sSeoUrl ) {
69 $sSeoUrl = $sOldSeoUrl;
79 $this->
_saveToDb(
'dynamic', $sObjectId, $sStdUrl, $sSeoUrl, $iLang, $iShopId );
94 if ( $this->_oTagPrepareUtil == null ) {
95 $this->_oTagPrepareUtil =
oxNew(
'oxtagcloud');
98 return $sTag = $this->_oTagPrepareUtil->prepareTags($sTag);
112 $sUri =
"cl=tag&searchtag=" . rawurlencode( $sTag );
113 if ( $blIncludeIndex ) {
114 $sUri =
"index.php?" . $sUri;
129 if (!isset($iLang)) {
145 public function getTagPageUrl( $sTag, $iPage, $iLang = null, $blFixed =
false )
147 if (!isset($iLang)) {
150 $sStdUrl = $this->
getStdTagUri( $sTag ) .
'&pgNr=' . $iPage;
151 $sParams = (int) ($iPage + 1);
153 $sStdUrl = $this->
_trimUrl( $sStdUrl, $iLang );
154 $sSeoUrl = $this->
getTagUri( $sTag, $iLang ) . $sParams .
"/";