Overview

Packages

  • admin
    • development
  • classes
  • CodeIgniter
    • Libraries
  • comment-form
  • core
  • elfinder
  • functions
  • JSMin
  • None
  • PHP
  • PHPMailer
  • plugins
    • admin-approval
    • auto-backup
    • bxslider-thumb-nav
    • cachemanager
    • check-for-update
    • class-anyfile
    • class-textobject
    • class-video
    • class-webdocs
    • clonezenphoto
    • colorbox-js
    • comment-form
    • contact-form
    • cookieconsent
    • crop-image
    • defaultcodeblocks
    • deprecated-functions
    • downloadlist
    • dynamic-locale
    • elfinder
    • email-newuser
    • examplemacros
    • favoriteshandler
    • flag-thumbnail
    • galleryarticles
    • googlemap
    • hitcounter
    • html-meta-tags
    • image-album-statistiscs
    • ipblocker
    • jplayer
    • macrolist
    • markrelease
    • Matomo
    • menu-manager
    • mergedrss
    • mobiletheme
    • multiple-layouts
    • openstreetmap
    • paged-thumbs-nav
    • phpmailer
    • print-album-menu
    • publishcontent
    • quota-manager
    • rating
    • recaptcha
    • register-user
    • related-items
    • rewriterules
    • rewritetokens
    • rss
    • scriptless-socialsharing
    • search-statistics
    • security-logger
    • seo-cleanup
    • seo-locale
    • seo-null
    • seo-zenphoto
    • show-not-logged-in
    • simplespam
    • site-upgrade
    • sitemap-extended
    • slideshow2
    • static-html-cache
    • tag-extras
    • tag-suggest
    • themeswitcher
    • tinymce4
    • trivialspam
    • uploader-http
    • uploader-jquery
    • user-expiry
    • user-groups
    • user-login-out
    • user-mailing-list
    • xmpmetadata
    • zenpage
    • zenphoto-news
    • zenphoto-sendmail
    • zenphotodonate
  • Services
    • JSON

Functions

  • getAllTagsFromAlbum
  • getAllTagsFromAlbum_multi_unique
  • getAllTagsFromZenpage
  • printAllTags
  • printAllTagsFromAlbum
  • printAllTagsFromZenpage
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

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
Parameters summary
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
Zenphoto doc API documentation generated by ApiGen