Function getAlbumStatistic
Returns a array of album objects of album statistic accordingly to $option
Package: plugins\image-album-statistiscs
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
integer |
$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> |
string |
$albumfolder = '' |
The name of an album to get only the statistc for its direct subalbums |
integer |
$threshold = 0 |
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 |
$sortdirection = 'desc' |
$collection only if $albumfolder is set: true if you want to get statistics to include all subalbum levels |
|
$collection = false |
array
|
array |