Methods
Create a new tag cloud with options
__construct(array|\Traversable $options = null
)
Parameters
$options
array
\Traversable
Render the tag cloud
__toString() : string
Append a single tag to the cloud
appendTag(\Zend\Tag\TaggableInterface|array $tag) : \Zend\Tag\Cloud
Parameters
$tag
\Zend\Tag\TaggableInterface
array
Exceptions
\Zend\Tag\Exception\InvalidArgumentException |
|
Returns
\Zend\Tag\Cloud
Get the decorator for the cloud
getCloudDecorator() : \Zend\Tag\Cloud\Decorator\AbstractCloud
Returns
\Zend\Tag\Cloud\Decorator\AbstractCloud
Get the plugin manager for decorators
getDecoratorPluginManager() : \Zend\Tag\Cloud\DecoratorPluginManager
Returns
\Zend\Tag\Cloud\DecoratorPluginManager
Retrieve the item list
getItemList() : \Zend\Tag\ItemList
If item list is undefined, creates one.
Returns
\Zend\Tag\ItemList
Get the decorator for the tags
getTagDecorator() : \Zend\Tag\Cloud\Decorator\AbstractTag
Returns
\Zend\Tag\Cloud\Decorator\AbstractTag
Render the tag cloud
render() : string
Set the decorator for the cloud
setCloudDecorator(mixed $decorator) : \Zend\Tag\Cloud
Parameters
$decorator
mixed
Exceptions
\Zend\Tag\Exception\InvalidArgumentException |
|
Returns
\Zend\Tag\Cloud
Set plugin manager for use with decorators
setDecoratorPluginManager(\Zend\Tag\Cloud\DecoratorPluginManager $decorators) : \Zend\Tag\Cloud
Parameters
$decorators
\Zend\Tag\Cloud\DecoratorPluginManager
Returns
\Zend\Tag\Cloud
Set the item list
setItemList(\Zend\Tag\ItemList $itemList) : \Zend\Tag\Cloud
Parameters
$itemList
\Zend\Tag\ItemList
Returns
\Zend\Tag\Cloud
Set options from array
setOptions(array $options) : \Zend\Tag\Cloud
Parameters
$options
array
Configuration for Cloud
Returns
\Zend\Tag\Cloud
Set the decorator for the tags
setTagDecorator(mixed $decorator) : \Zend\Tag\Cloud
Parameters
$decorator
mixed
Exceptions
\Zend\Tag\Exception\InvalidArgumentException |
|
Returns
\Zend\Tag\Cloud
Properties
DecoratorInterface for the cloud
$cloudDecorator : \Zend\Tag\Cloud\Decorator\AbstractCloud
Plugin manager for decorators
$decorators : \Zend\Tag\Cloud\DecoratorPluginManager
Option keys to skip when calling setOptions()
$skipOptions : array
Default
array('options', 'config')
DecoratorInterface for the tags
$tagDecorator : \Zend\Tag\Cloud\Decorator\AbstractTag