Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=null) | |
Create a new tag cloud with options. | |
setConfig (Zend_Config $config) | |
Set options from Zend_Config. | |
setOptions (array $options) | |
Set options from array. | |
setTags (array $tags) | |
Set the tags for the tag cloud. | |
appendTag ($tag) | |
Append a single tag to the cloud. | |
setItemList (Zend_Tag_ItemList $itemList) | |
Set the item list. | |
getItemList () | |
Retrieve the item list. | |
setCloudDecorator ($decorator) | |
Set the decorator for the cloud. | |
getCloudDecorator () | |
Get the decorator for the cloud. | |
setTagDecorator ($decorator) | |
Set the decorator for the tags. | |
getTagDecorator () | |
Get the decorator for the tags. | |
setPluginLoader (Zend_Loader_PluginLoader_Interface $loader) | |
Set plugin loaders for use with decorators. | |
getPluginLoader () | |
Get the plugin loader for decorators. | |
addPrefixPaths (array $paths) | |
Add many prefix paths at once. | |
addPrefixPath ($prefix, $path) | |
Add prefix path for plugin loader. | |
render () | |
Render the tag cloud. | |
__toString () | |
Render the tag cloud. | |
Protected Attributes | |
$_cloudDecorator = null | |
$_tagDecorator = null | |
$_tags = null | |
$_pluginLoader = null | |
$_skipOptions | |
__construct | ( | $options = null | ) |
Create a new tag cloud with options.
mixed | $options |
__toString | ( | ) |
Render the tag cloud.
addPrefixPath | ( | $prefix, | |
$path | |||
) |
addPrefixPaths | ( | array | $paths | ) |
appendTag | ( | $tag | ) |
getCloudDecorator | ( | ) |
Get the decorator for the cloud.
getItemList | ( | ) |
getPluginLoader | ( | ) |
Get the plugin loader for decorators.
getTagDecorator | ( | ) |
Get the decorator for the tags.
render | ( | ) |
Render the tag cloud.
setCloudDecorator | ( | $decorator | ) |
setConfig | ( | Zend_Config | $config | ) |
setItemList | ( | Zend_Tag_ItemList | $itemList | ) |
setOptions | ( | array | $options | ) |
Set options from array.
array | $options | Configuration for Zend_Tag_Cloud |
setPluginLoader | ( | Zend_Loader_PluginLoader_Interface | $loader | ) |
Set plugin loaders for use with decorators.
Zend_Loader_PluginLoader_Interface | $loader |
setTagDecorator | ( | $decorator | ) |
setTags | ( | array | $tags | ) |
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.
array | $tags |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |