tag_cloud

Tag-related functions

Summary

tag_cloud(Omeka_Record_AbstractRecord|array $recordOrTags, string|null $link, int $maxClasses = 9, bool $tagNumber =, string $tagNumberOrder)

Create a tag cloud made of divs that follow the hTagcloud microformat

Parameters:
  • $recordOrTags (Omeka_Record_AbstractRecord|array) – The record to retrieve tags from, or the actual array of tags
  • $link (string|null) – The URI to use in the link for each tag. If none given, tags in the cloud will not be given links.
  • $maxClasses (int) –
  • $tagNumber (bool) –
  • $tagNumberOrder (string) –
Returns:

string HTML for the tag cloud

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

Tag-related functions

Next topic

tag_string

This Page