

Definition at line 17 of file oxtagcloud.php.
Public Member Functions | |
| getTags ($sArtId=null, $blExtended=false) | |
| getTagCloud ($sArtId=null, $blExtended=false) | |
| prepareTags ($sTags) | |
| trimTags ($sTags) | |
| resetTagCache () | |
Protected Member Functions | |
| _sortTags ($aTags) | |
| _getFontSize ($iHit, $iMaxHit) | |
| _getCacheKey ($blExtended) | |
Protected Attributes | |
| $_sCacheKey = "tagcloud_" | |
| oxTagCloud.getTags | ( | $ | sArtId = null, |
|
| $ | blExtended = false | |||
| ) |
Returns tag array
| string | $sArtId article id | |
| bool | $blExtended if can extend tags |
Definition at line 34 of file oxtagcloud.php.
| oxTagCloud._sortTags | ( | $ | aTags | ) | [protected] |
Sorts passed tag array. Using MySQL for sorting (to keep user defined ordering way).
| array | $aTags tags to sort |
Definition at line 85 of file oxtagcloud.php.
| oxTagCloud.getTagCloud | ( | $ | sArtId = null, |
|
| $ | blExtended = false | |||
| ) |
Returns HTML formated Tag Cloud
| string | $sArtId article id | |
| bool | $blExtended if can extend tags |
Definition at line 124 of file oxtagcloud.php.
| oxTagCloud._getFontSize | ( | $ | iHit, | |
| $ | iMaxHit | |||
| ) | [protected] |
Returns font size value for current occurence depending on max occurence.
| int | $iHit hit count | |
| int | $iMaxHit max hits count |
Definition at line 180 of file oxtagcloud.php.
| oxTagCloud.prepareTags | ( | $ | sTags | ) |
Takes tag string and makes shorter tags longer by adding underscore. This is needed for FULLTEXT index
| string | $sTags given tag |
Definition at line 208 of file oxtagcloud.php.
| oxTagCloud.trimTags | ( | $ | sTags | ) |
Trims underscores from tags.
| string | $sTags given tag |
Definition at line 233 of file oxtagcloud.php.
| oxTagCloud.resetTagCache | ( | ) |
| oxTagCloud._getCacheKey | ( | $ | blExtended | ) | [protected] |
Returns tag cache key name.
| bool | $blExtended Whether to display full list |
Definition at line 270 of file oxtagcloud.php.
oxTagCloud.$_sCacheKey = "tagcloud_" [protected] |
Definition at line 24 of file oxtagcloud.php.
1.5.5