DownloadStatistics
class DownloadStatistics (View source)
Properties
protected int|null | $id | The downloadStatistics record ID. |
|
protected File | $file | The downloaded file. |
|
protected int | $fileVersion | The version of the downloaded file. |
|
protected int|null | $downloaderID | The ID of the user that downloaded the file. |
|
protected int|null | $relatedPageID | The ID of the page where the download originated. |
|
protected DateTimeImmutable | $downloadDateTime | The date/time when the file has been downloaded. |
Methods
No description
No description
Get tthe downloadStatistics record ID.
Get the version of the downloaded file.
Get the ID of the user that downloaded the file.
Get the ID of the user that downloaded the file.
Get the ID of the user that downloaded the file.
Details
protected
__construct()
No description
static DownloadStatistics
create(File $file, int $fileVersion, int|null $downloaderID, int|null $relatedPageID, DateTimeImmutable|null $downloadDateTime = null)
No description
int|null
getID()
Get tthe downloadStatistics record ID.
File
getFile()
Get the downloaded file.
int
getFileVersion()
Get the version of the downloaded file.
int|null
getDownloaderID()
Get the ID of the user that downloaded the file.
int|null
getRelatedPageID()
Get the ID of the user that downloaded the file.
DateTimeImmutable
getDownloadDateTime()
Get the ID of the user that downloaded the file.