345. Class

345.1. Zend\Tag\Cloud\Decorator\HtmlTag

Simple HTML decorator for tags

345.1.1. Methods

345.1.1.1. setClassList

setClassList()

Set a list of classes to use instead of fontsizes

Parameters:array
Throws InvalidArgumentException:
 When the classlist is empty
Throws InvalidArgumentException:
 When the classlist contains an invalid classname
Return type:HTMLTag

345.1.1.2. getClassList

getClassList()

Get class list

Return type:array

345.1.1.3. setFontSizeUnit

setFontSizeUnit()

Set the font size unit

Possible values are: em, ex, px, in, cm, mm, pt, pc and %

Parameters:string
Throws InvalidArgumentException:
 When an invalid fontsize unit is specified
Return type:HTMLTag

345.1.1.4. getFontSizeUnit

getFontSizeUnit()

Retrieve font size unit

Return type:string

345.1.1.5. setHTMLTags

setHTMLTags()

Set the HTML tags surrounding the <a> element

Parameters:array
Return type:HTMLTag

345.1.1.6. getHTMLTags

getHTMLTags()

Get HTML tags map

Return type:array

345.1.1.7. setMaxFontSize

setMaxFontSize()

Set maximum font size

Parameters:integer
Throws InvalidArgumentException:
 When fontsize is not numeric
Return type:HTMLTag

345.1.1.8. getMaxFontSize

getMaxFontSize()

Retrieve maximum font size

Return type:int

345.1.1.9. setMinFontSize

setMinFontSize()

Set minimum font size

Parameters:int
Throws InvalidArgumentException:
 When fontsize is not numeric
Return type:HTMLTag

345.1.1.10. getMinFontSize

getMinFontSize()

Retrieve minimum font size

Return type:int

345.1.1.11. render

render()

Defined by Tag

Parameters:ItemList
Throws InvalidArgumentException:
 
Return type:array