Function printAlbumStatistic
Prints album statistic according to $option as an unordered HTML list A css id is attached by default named '$option_album'
Package: plugins
Author: Malte Müller (acrylian), Stephen Billard (sbillard), gjr
Located at zp-extensions/image_album_statistics.php
Author: Malte Müller (acrylian), Stephen Billard (sbillard), gjr
Located at zp-extensions/image_album_statistics.php
string |
$number |
the number of albums to get |
string |
$option |
<p>"popular" for the most popular albums, "latest" for the latest uploaded by id (Discovery) "latest-date" for the latest by date "latest-mtime" for the latest by mtime "latest-publishdate" for the latest by publishdate "mostrated" for the most voted, "toprated" for the best voted "latestupdated" for the latest updated "random" for random order (yes, strictly no statistical order...)</p> |
boolean |
$showtitle = false |
if the album title should be shown |
boolean |
$showdate = false |
if the album date should be shown |
boolean |
$showdesc = false |
if the album description should be shown |
integer |
$desclength = 40 |
the length of the description to be shown |
string |
$showstatistic = '' |
<p>"hitcounter" for showing the hitcounter (views), "rating" for rating, "rating+hitcounter" for both.</p> |
integer |
$width = NULL |
the width/cropwidth of the thumb if crop=true else $width is longest size. (Default 85px) |
integer |
$height = NULL |
the height/cropheight of the thumb if crop=true else not used. (Default 85px) |
boolean |
$crop = NULL |
'true' (default) if the thumb should be cropped, 'false' if not |
integer |
$albumfolder = '' |
$threshold the minimum number of ratings (for rating options) or hits (for popular option) an album must have to be included in the list. (Default 0) |
boolean |
$firstimglink = false |
$collection only if $albumfolder is set: true if you want to get statistics to include all subalbum levels |
|
$threshold = 0 |
|
|
$collection = false |