

Public Member Functions | |
| getTags ($sArtId=null, $blExtended=false) | |
| getTagCloud ($sArtId=null, $blExtended=false) | |
| prepareTags ($sTags) | |
| trimTags ($sTags) | |
| resetTagCache () | |
Static Public Member Functions | |
| static | generateTagsFromLongDescription ($iLang=0) |
Protected Member Functions | |
| _getFontSize ($iHit, $iMaxHit) | |
| _getCacheKey ($blExtended) | |
Protected Attributes | |
| $_sCacheKey = "tagcloud_" | |
| static oxTagCloud.generateTagsFromLongDescription | ( | $ | iLang = 0 |
) | [static] |
This method generates test tags data and probably should be deleted for the release. Or if you need tags you can generate them by: oxTagCloud.generateTagsFromLongDescription(); We used this method for demo data only
| oxTagCloud.getTags | ( | $ | sArtId = null, |
|
| $ | blExtended = false | |||
| ) |
Returns tag array
| oxTagCloud._getFontSize | ( | $ | iHit, | |
| $ | iMaxHit | |||
| ) | [protected] |
Assigns article oxsearchkeys field value to article tags
| int | $iHit | |
| int | $iMaxHit |
| oxTagCloud.prepareTags | ( | $ | sTags | ) |
Takes tag string and makes shorter tags longer by adding underscore. This is needed for FULLTEXT index
| string | $sTags |
| oxTagCloud.trimTags | ( | $ | sTags | ) |
Trims underscores from tags.
| string | $sTags |
| oxTagCloud.resetTagCache | ( | ) |
Resets tag cache
| oxTagCloud._getCacheKey | ( | $ | blExtended | ) | [protected] |
Returns tag cache key name.
| bool | $blExtended Whether to display full list |
oxTagCloud.$_sCacheKey = "tagcloud_" [protected] |
1.5.5