Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • CI_jsmin
  • CI_load
  • codeIgniter_kludge
  • comment_form
  • contactformOptions
  • GoogleMap
  • hitcounter
  • jquery_rating
  • menu_manager
  • mobile
  • mobileTheme
  • multipleLayoutOptions
  • pagedThumbsNav
  • pagedthumbsOptions
  • print_album_menu
  • tagsuggest
  • TextObject
  • zenpagecms

Functions

  • addGeoCoord
  • checkChosenItemStatus
  • checkChosenMenuset
  • checkIfNew
  • checkLayoutUseForImages
  • checkParentLayouts
  • checkRequiredField
  • checkSelectedAlbum
  • copyLayoutSelection
  • createMenuIfNotExists
  • createRelatedItemsResultArray
  • deleteLayoutSelection
  • get_instance
  • getAlbumGeodata
  • getAlbumStatistic
  • getAllTagsFromAlbum
  • getAllTagsFromAlbum_multi_unique
  • getAllTagsFromZenpage
  • getCurrentMenuItem
  • getField
  • getGeoCoord
  • getHitcounter
  • getImageGeodata
  • getImageStatistic
  • getItem
  • getItemTitleAndURL
  • getLayout
  • getLayoutSelector
  • getMenuFromLink
  • getMenuItemChilds
  • getMenuItems
  • getMenumanagerPredicessor
  • getMenumanagerSuccessor
  • getMenuVisibility
  • getNewsArchiveURL
  • getNewsIndexURL
  • getNumAllSubalbums
  • getParentMenuItems
  • getRating
  • getRelatedItems
  • getSelectedLayout
  • inventMenuItem
  • layoutSelector
  • layoutSelector_album
  • log_message
  • menu_admin_toolbox_global
  • menu_tabs
  • omsAdditions
  • printAlbumMenu
  • printAlbumMenuJump
  • printAlbumMenuList
  • printAlbumMenuListAlbum
  • printAlbumStatistic
  • printAlbumStatisticItem
  • printAllTags
  • printAllTagsFromAlbum
  • printAllTagsFromZenpage
  • printCommentForm
  • printContactForm
  • printCustomMenu
  • printGoogleMap
  • printImageStatistic
  • printLatestAlbums
  • printLatestImages
  • printLatestImagesByDate
  • printLatestImagesByMtime
  • printLatestUpdatedAlbums
  • printMenuemanagerPageList
  • printMenuemanagerPageListWithNav
  • printMenumanagerBreadcrumb
  • printMenumanagerNextLink
  • printMenumanagerPrevLink
  • printMostRatedAlbums
  • printMostRatedImages
  • printPagedThumbsNav
  • printPopularAlbums
  • printPopularImages
  • printRating
  • printRelatedItems
  • printTopRatedAlbums
  • printTopRatedImages
  • saveLayoutSelection
  • saveZenphotoLayoutSelection
  • showOrNotShowField
  • submenuOf
  • tagSuggestJS
  • tagSuggestJS_admin
  • tagSuggestJS_frontend
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function printImageStatistic

Prints image statistic according to $option as an unordered HTML list A css id is attached by default named accordingly'$option'

Package: plugins
Author: Malte Müller (acrylian), Stephen Billard (sbillard), gjr
Located at zp-extensions/image_album_statistics.php
Parameters summary
string $number the number of albums to get
string $option <p>"popular" for the most popular images, "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 = '' foldername of an specific album
boolean $showtitle = false if the image title should be shown
boolean $showdate = false if the image date should be shown
boolean $showdesc = false if the image 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
boolean $collection = false only if $albumfolder is set: true if you want to get statistics from this album and all of its subalbums
boolean $fullimagelink = false 'false' (default) for the image page link , 'true' for the unprotected full image link (to use Colorbox for example)
integer $threshold = 0 the minimum number of ratings (for rating options) or hits (for popular option) an image must have to be included in the list. (Default 0)
Return value summary
string string
Zenphoto doc API documentation generated by ApiGen