OXID eShop CE
4.9.10
|
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 () | |
Public Member Functions inherited from oxSuperCfg | |
__call ($sMethod, $aArgs) | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
getUser () | |
setUser ($oUser) | |
isAdmin () | |
setAdminMode ($blAdmin) |
Protected Member Functions | |
_formCacheKey ($sTagListCacheId=null) | |
_getMaxHit () | |
_getTagHitCount ($oTag) | |
_getFontSize ($iHit, $iMaxHit) |
Protected Attributes | |
$_sCacheKey = "tagcloud" | |
$_iMaxHit = null | |
$_aCloudArray = null | |
$_blExtended = false | |
$_iTagMaxLength = 60 |
Additional Inherited Members | |
Static Protected Attributes inherited from oxSuperCfg | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
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.
|
protected |
Returns tag cache key name.
string | $sTagListCacheId | Whether to display full list |
Definition at line 246 of file oxtagcloud.php.
|
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.
|
protected |
|
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.
|
protected |
Definition at line 37 of file oxtagcloud.php.
|
protected |
Definition at line 44 of file oxtagcloud.php.
|
protected |
Definition at line 30 of file oxtagcloud.php.
|
protected |
Definition at line 53 of file oxtagcloud.php.
|
protected |
Definition at line 23 of file oxtagcloud.php.