adddownloadListItem [line 77]
Adds a new download item to the database. For internal use.
Parameters:
|
string |
$path: |
Path of the download item |
void adddownloadListItem(
string $path
)
|
|
downloadstatistics_button [line 164]
Admin overview button for download statistics utility
Parameters:
void downloadstatistics_button(
$buttons
)
|
|
getDownloadItemID [line 108]
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) |
bool|string getDownloadItemID(
string $path
)
|
|
getDownloadItemPath [line 123]
Gets the path of the download item via ID from the database. Used to process the download only. For internal use.
Parameters:
|
int |
$id: |
Id of the download item |
bool|string getDownloadItemPath(
int $id
)
|
|
getdownloadListItemFromDB [line 97]
Gets the download items from all download items from the database. For internal use in the downloadlink functions.
Parameters:
array getdownloadListItemFromDB(
$file
)
|
|
getdownloadListItemsFromDB [line 88]
Gets the download items from all download items from the database. For internal use in the downloadList functions.
array getdownloadListItemsFromDB(
)
|
|
printdownloadList_formatBytes [line 143]
returns formatted number of bytes. For internal use.
two parameters: the bytes and the precision (optional). if no precision is set, function will determine clean result automatically. http://php.net/manual/de/function.filesize.php
Parameters:
Information Tags:
| Author: | Martin Sweeny |
| Version: | 2010.0617 |
void printdownloadList_formatBytes(
$b, [ $p = null]
)
|
|
updatedownloadListItemCount [line 64]
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 |
void updatedownloadListItemCount(
string $path, bool $nocountupdate
)
|
|