Class DownloadList
Plugin option handling class
Methods summary
public
|
|
public
|
|
public
|
|
public static
|
|
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
|
|
public static
|
|
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
|
|