1905. Class

1905.1. Zend\Tag\Cloud

1905.1.1. Methods

1905.1.1.1. __construct

__construct()

Create a new tag cloud with options

Parameters:array|Traversable

1905.1.1.2. setOptions

setOptions()

Set options from array

Parameters:array – Configuration for Cloud
Return type:Cloud

1905.1.1.3. setTags

setTags()

Set the tags for the tag cloud.

$tags should be an array containing single tags as array. Each tag array should at least contain the keys ‘title’ and ‘weight’. Optionally you may supply the key ‘url’, to which the tag links to. Any additional parameter in the array is silently ignored and can be used by custom decorators.

Parameters:array
Throws ExceptionInvalidArgumentException:
 
Return type:Cloud

1905.1.1.4. appendTag

appendTag()

Append a single tag to the cloud

Parameters:TaggableInterface|array
Throws ExceptionInvalidArgumentException:
 
Return type:Cloud

1905.1.1.5. setItemList

setItemList()

Set the item list

Parameters:ItemList
Return type:Cloud

1905.1.1.6. getItemList

getItemList()

Retrieve the item list

If item list is undefined, creates one.

Return type:ItemList

1905.1.1.7. setCloudDecorator

setCloudDecorator()

Set the decorator for the cloud

Parameters:mixed
Throws ExceptionInvalidArgumentException:
 
Return type:Cloud

1905.1.1.8. getCloudDecorator

getCloudDecorator()

Get the decorator for the cloud

Return type:CloudDecoratorAbstractCloud

1905.1.1.9. setTagDecorator

setTagDecorator()

Set the decorator for the tags

Parameters:mixed
Throws ExceptionInvalidArgumentException:
 
Return type:Cloud

1905.1.1.10. getTagDecorator

getTagDecorator()

Get the decorator for the tags

Return type:CloudDecoratorAbstractTag

1905.1.1.11. setDecoratorPluginManager

setDecoratorPluginManager()

Set plugin manager for use with decorators

Parameters:CloudDecoratorPluginManager
Return type:Cloud

1905.1.1.12. getDecoratorPluginManager

getDecoratorPluginManager()

Get the plugin manager for decorators

Return type:CloudDecoratorPluginManager

1905.1.1.13. render

render()

Render the tag cloud

Return type:string

1905.1.1.14. __toString

__toString()

Render the tag cloud

Return type:string