tag_string

Tag-related functions

Summary

tag_string(Omeka_Record_AbstractRecord|array $recordOrTags, string|null $link = items/browse, string $delimiter)

Return a tag string given an Item, Exhibit, or a set of tags.

Parameters:
  • $recordOrTags (Omeka_Record_AbstractRecord|array) – The record to retrieve tags from, or the actual array of tags
  • $link (string|null) – The URL to use for links to the tags (if null, tags aren’t linked)
  • $delimiter (string) – ‘, ‘ (comma and whitespace) is the default tag_delimiter option. Configurable in Settings
Returns:

string HTML

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

tag_cloud

Next topic

Foot-related functions

This Page