tag_string¶
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