Function printAllTags
Prints a tag cloud list of the tags in one album and optionally its subalbums. Base function to printAllTagsFromAlbum().
Note meant to be used standalone.
Package: plugins\tag-extras
Author: Malte Müller (acrylian)
Located at zp-extensions/tag_extras.php
Author: Malte Müller (acrylian)
Located at zp-extensions/tag_extras.php
array |
$tags |
array of tags with the fields count, id, and name (as passed by the specific printAllTagsFrom.... functions) |
string |
$mode |
"images" for image tags, "albums" for album tags, "all" for images and albums mixed or "news" for Zenpage news articles, "pages" for Zenpage pages |
string |
$separator = '' |
how to separate the entries |
string |
$class = '' |
css classs to style the list |
integer |
$showcounter = true |
if the tag count should be shown (no counter if $mode = "all") |
boolean |
$tagcloud = true |
if set to false a simple list without font size changes will be printed, set to true (default) prints a list as a tag cloud |
integere |
$size_min = 1 |
smallest font size the cloud should display |
integer |
$size_max = 5 |
largest font size the cloud should display |
integer |
$count_min = 1 |
the minimum count for a tag to appear in the output |
integer |
$count_max = 50 |
the floor count for setting the cloud font size to $size_max |