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

  • AlbumZip
  • crop_image
  • defaultCodeblocks
  • DownloadList
  • galleryArticles
  • tweet

Functions

  • defaultCodeblocks_codebox
  • getdownloadList
  • getDownloadURL
  • printDownloadAlbumZipURL
  • printdownloadList
  • printDownloadURL
  • wordpress_import_button
  • wp_prefix
  • wp_query_full_array
  • wpimport_TryAgainError
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class DownloadList

Plugin option handling class

Package: plugins\misc
Author: Malte Müller (acrylian)
Located at zp-extensions/downloadList.php
Methods summary
public
# __construct( )
public
# getOptionsSupported( )
public
# handleOption( $option, $currentValue )
public static
# handleOptionSave( $themename, $themealbum )
public static
# updateListItemCount( string $path, boolean $nocountupdate,… )

Updates the download count entry when processing a download. For internal use.

Updates the download count entry when processing a download. For internal use.

Parameters

$path
Path of the download item
$nocountupdate,…
false if the downloadcount should not be increased and only the entry be added to the db if it does not already exist
public static
# addListItem( string $path )

Adds a new download item to the database. For internal use.

Adds a new download item to the database. For internal use.

Parameters

$path
Path of the download item
public static
# getListItemsFromDB( )
public static
# getListItemFromDB( $file )
public static boolean|string
# getItemID( string $path )

Gets the id of a download item from the database for the download link. For internal use.

Gets the id of a download item from the database for the download link. For internal use.

Parameters

$path
Path of the download item (without WEBPATH)

Returns

boolean|string
public static array
# printListArray( array $array, string $listtype = 'ol' )

Parameters

$array
List of download items
$listtype
"ol" or "ul" for the type of HTML list you want to use

Returns

array
public static
# button( $buttons )

Admin overview button for download statistics utility

Admin overview button for download statistics utility

public static
# noFile( )
Zenphoto doc API documentation generated by ApiGen