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' );
46 return 'tag_list_'.$this->getLanguage();
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;
104 $this->_oTagSet->addTag( $mTag );
116 if ( empty( $sTags ) ) {
119 $sSeparator = $this->
get()->getSeparator();
120 $aTags = explode( $sSeparator, $sTags );
121 foreach ( $aTags as $sTag ) {
122 $oTag =
oxNew(
"oxtag" );
123 $oTag->set( $sTag,
false );
124 $oTag->removeUnderscores();