Inheritance diagram for oxTagCloud:
Collaboration diagram for oxTagCloud:Public Member Functions | |
| __construct () | |
| getTagMaxLength () | |
| setExtendedMode ($blExtended) | |
| isExtended () | |
| setTagList (oxITagList $oTagList) | |
| getTagList () | |
| setCloudArray ($aTagCloudArray) | |
| getCloudArray () | |
| formCloudArray (oxITagList $oTagList) | |
| getTagSize ($sTag) | |
| getMaxAmount () | |
| resetTagCache ($iLang=null) | |
| resetCache () | |
Protected Member Functions | |
| _formCacheKey ($sTagListCacheId=null) | |
| _getMaxHit () | |
| _getTagHitCount ($oTag) | |
| _getFontSize ($iHit, $iMaxHit) | |
Protected Attributes | |
| $_sCacheKey = "tagcloud" | |
| $_iMaxHit = null | |
| $_aCloudArray = null | |
| $_blExtended = false | |
| $_iTagMaxLength = 60 | |
Class dedicated to tag cloud handling
Definition at line 15 of file oxtagcloud.php.
| oxTagCloud.__construct | ( | ) |
Object constructor. Initializes separator.
Reimplemented from oxSuperCfg.
Definition at line 58 of file oxtagcloud.php.
| oxTagCloud._formCacheKey | ( | $ | sTagListCacheId = null |
) | [protected] |
Returns tag cache key name.
| string | $sTagListCacheId Whether to display full list |
Definition at line 246 of file oxtagcloud.php.
| oxTagCloud._getFontSize | ( | $ | iHit, | |
| $ | iMaxHit | |||
| ) | [protected] |
Returns font size value for current occurrence depending on max occurrence.
| int | $iHit hit count | |
| int | $iMaxHit max hits count |
Definition at line 288 of file oxtagcloud.php.
| oxTagCloud._getMaxHit | ( | ) | [protected] |
| oxTagCloud._getTagHitCount | ( | $ | oTag | ) | [protected] |
Returns tag hit count. Used for _getMaxHit array mapping
| oxTag | $oTag tag object |
Definition at line 275 of file oxtagcloud.php.
| oxTagCloud.formCloudArray | ( | oxITagList $ | oTagList | ) |
Returns tag cloud array
| oxITagList | $oTagList Tag List |
Definition at line 147 of file oxtagcloud.php.
| oxTagCloud.getCloudArray | ( | ) |
| oxTagCloud.getMaxAmount | ( | ) |
Returns maximum amount of tags, that should be shown in list
Definition at line 200 of file oxtagcloud.php.
| oxTagCloud.getTagList | ( | ) |
| oxTagCloud.getTagMaxLength | ( | ) |
| oxTagCloud.getTagSize | ( | $ | sTag | ) |
Returns tag size
| string | $sTag tag title |
Definition at line 183 of file oxtagcloud.php.
| oxTagCloud.isExtended | ( | ) |
| oxTagCloud.resetCache | ( | ) |
Resets tag cache
Definition at line 225 of file oxtagcloud.php.
| oxTagCloud.resetTagCache | ( | $ | iLang = null |
) |
Resets tag cache
| int | $iLang preferred language [optional] |
Definition at line 214 of file oxtagcloud.php.
| oxTagCloud.setCloudArray | ( | $ | aTagCloudArray | ) |
Sets tag cloud array
| array | $aTagCloudArray tag cloud array |
Definition at line 117 of file oxtagcloud.php.
| oxTagCloud.setExtendedMode | ( | $ | blExtended | ) |
Tag cloud mode setter (extended or not)
| bool | $blExtended if true - extended cloud array will be returned |
Definition at line 77 of file oxtagcloud.php.
| oxTagCloud.setTagList | ( | oxITagList $ | oTagList | ) |
Sets oxITagList object
| oxITagList | $oTagList Tag cloud set object, which implements oxITagList |
Definition at line 97 of file oxtagcloud.php.
oxTagCloud.$_aCloudArray = null [protected] |
Definition at line 37 of file oxtagcloud.php.
oxTagCloud.$_blExtended = false [protected] |
Definition at line 44 of file oxtagcloud.php.
oxTagCloud.$_iMaxHit = null [protected] |
Definition at line 30 of file oxtagcloud.php.
oxTagCloud.$_iTagMaxLength = 60 [protected] |
Definition at line 53 of file oxtagcloud.php.
oxTagCloud.$_sCacheKey = "tagcloud" [protected] |
Definition at line 23 of file oxtagcloud.php.
1.7.1