Zend\Tag\Cloud
Synopsis
class Cloud
{
- // members
- protected AbstractCloud $cloudDecorator;
- protected AbstractTag $tagDecorator;
- protected ItemList $tags;
- protected DecoratorPluginManager $decorators;
- protected array $skipOptions;
- // methods
- public void __construct()
- public Cloud setOptions()
- public Cloud setTags()
- public Cloud appendTag()
- public Cloud setItemList()
- public ItemList getItemList()
- public Cloud setCloudDecorator()
- public AbstractCloud getCloudDecorator()
- public Cloud setTagDecorator()
- public AbstractTag getTagDecorator()
- public Cloud setDecoratorPluginManager()
- public DecoratorPluginManager getDecoratorPluginManager()
- public string render()
- public string __toString()
Members
protected
- $cloudDecorator
—
Zend\Tag\Cloud\Decorator\AbstractCloud
DecoratorInterface for the cloud - $decorators
—
Zend\Tag\Cloud\DecoratorPluginManager
Plugin manager for decorators - $skipOptions
—
array
Option keys to skip when calling setOptions() - $tagDecorator
—
Zend\Tag\Cloud\Decorator\AbstractTag
DecoratorInterface for the tags
Methods
public
- __construct() — Create a new tag cloud with options
- __toString() — Render the tag cloud
- appendTag() — Append a single tag to the cloud
- getCloudDecorator() — Get the decorator for the cloud
- getDecoratorPluginManager() — Get the plugin manager for decorators
- getItemList() — Retrieve the item list
- getTagDecorator() — Get the decorator for the tags
- render() — Render the tag cloud
- setCloudDecorator() — Set the decorator for the cloud
- setDecoratorPluginManager() — Set plugin manager for use with decorators
- setItemList() — Set the item list
- setOptions() — Set options from array
- setTagDecorator() — Set the decorator for the tags
- setTags() — Set the tags for the tag cloud.