Create a new tag cloud with options
Parameters: | array|Traversable – |
---|
Set options from array
Parameters: | array – Configuration for Cloud |
---|---|
Return type: | Cloud |
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 |
Append a single tag to the cloud
Parameters: | TaggableInterface|array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Cloud |
Retrieve the item list
If item list is undefined, creates one.
Return type: | ItemList |
---|
Set the decorator for the cloud
Parameters: | mixed – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Cloud |
Get the decorator for the cloud
Return type: | CloudDecoratorAbstractCloud |
---|
Set the decorator for the tags
Parameters: | mixed – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Cloud |
Get the decorator for the tags
Return type: | CloudDecoratorAbstractTag |
---|
Set plugin manager for use with decorators
Parameters: | CloudDecoratorPluginManager – |
---|---|
Return type: | Cloud |
Get the plugin manager for decorators
Return type: | CloudDecoratorPluginManager |
---|
Render the tag cloud
Return type: | string |
---|