[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: DownloadList

Source Location: /zp-extensions/downloadList.php

Class DownloadList

Method Summary
static void   addListItem()   Adds a new download item to the database. For internal use.
static void   button()   Admin overview button for download statistics utility
static bool|string   getItemID()   Gets the id of a download item from the database for the download link. For internal use.
static void   getListItemFromDB()  
static void   getListItemsFromDB()  
static void   handleOptionSave()  
static void   noFile()  
static array   printListArray()  
static void   updateListItemCount()   Updates the download count entry when processing a download. For internal use.
DownloadList   __construct()  
void   getOptionsSupported()  
void   handleOption()  

[ Top ]
Methods
static method addListItem  [line 177]

  static void addListItem( string $path  )

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

Parameters:
string   $path:  Path of the download item


[ Top ]
static method button  [line 247]

  static void button( $buttons  )

Admin overview button for download statistics utility

Parameters:
   $buttons: 


[ Top ]
static method getItemID  [line 207]

  static bool|string getItemID( string $path  )

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

Parameters:
string   $path:  Path of the download item (without WEBPATH)


[ Top ]
static method getListItemFromDB  [line 197]

  static void getListItemFromDB( $file  )

Parameters:
   $file: 


[ Top ]
static method getListItemsFromDB  [line 188]

  static void getListItemsFromDB( )



[ Top ]
static method handleOptionSave  [line 150]

  static void handleOptionSave( $themename, $themealbum  )

Parameters:
   $themename: 
   $themealbum: 


[ Top ]
static method noFile  [line 263]

  static void noFile( )



[ Top ]
static method printListArray  [line 221]

  static array printListArray( array $array, [string $listtype = 'ol']  )

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


[ Top ]
static method updateListItemCount  [line 165]

  static void updateListItemCount( string $path, bool $nocountupdate  )

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

Parameters:
string   $path:  Path of the download item
bool   $nocountupdate:  false if the downloadcount should not be increased and only the entry be added to the db if it does not already exist


[ Top ]
Constructor __construct  [line 51]

  DownloadList __construct( )



[ Top ]
getOptionsSupported  [line 62]

  void getOptionsSupported( )



[ Top ]
handleOption  [line 91]

  void handleOption( $option, $currentValue  )

Parameters:
   $option: 
   $currentValue: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:24 +0200 by phpDocumentor 1.4.3