3 if (!defined(
'OXTAGCLOUD_MINFONT')) {
4 define(
'OXTAGCLOUD_MINTAGLENGTH', 4);
5 define(
'OXTAGCLOUD_STARTPAGECOUNT', 20);
6 define(
'OXTAGCLOUD_EXTENDEDCOUNT', 200);
36 $this->_oTagSet =
oxNew(
'oxtagset');
64 $oArticle =
oxNew(
'oxarticle');
65 $oArticle->setLanguage($iLang);
66 $sArtActive = $oArticle->getActiveCheckQuery(
true);
68 $sQ =
"SELECT {$sViewName}.`oxtags` AS `oxtags`
69 FROM {$sArtView} AS `oxarticles`
70 LEFT JOIN {$sViewName} ON `oxarticles`.`oxid` = {$sViewName}.`oxid`
71 WHERE `oxarticles`.`oxactive` = 1 AND $sArtActive";
74 $oRs = $oDb->select($sQ);
76 $this->
get()->clear();
77 while ($oRs && $oRs->recordCount() && !$oRs->EOF) {
82 return $this->_isLoaded =
true;
102 $this->_oTagSet->addTag($mTag);
117 $sSeparator = $this->
get()->getSeparator();
118 $aTags = explode($sSeparator, $sTags);
119 foreach ($aTags as $sTag) {
120 $oTag =
oxNew(
"oxtag");
121 $oTag->set($sTag,
false);
122 $oTag->removeUnderscores();