Zend\Tag\Cloud::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.
Signature
public function setTags(array
$tags )
Parameters
$tags
— array
Returns
- Cloud