EntryPastDownloadService
in package
FinalYes
Table of Contents
Properties
- $entryPastRepository : EntryPastRepository
- $fileUtil : FileUtil
- $storage : CloudStorageService
- $url : Url
Methods
- __construct() : mixed
- EntryPastDownloadService constructor.
- clientDownloadFakeFileByEntryPastId() : void
- clientDownloadHumanFileByEntryPastId() : void
- clientDownloadWorkFileByEntryPastId() : void
- clientDownloadXmlFileByEntryPastId() : void
- entryPastsToReportDownloadLists() : array<string|int, ReportDownload>
- entryPastToReportDownload() : ReportDownload
- generateDownloadUrlByEntryPastIdAndFileType() : string
Properties
$entryPastRepository
private
EntryPastRepository
$entryPastRepository
$fileUtil
private
FileUtil
$fileUtil
$storage
private
CloudStorageService
$storage
$url
private
Url
$url
Methods
__construct()
EntryPastDownloadService constructor.
public
__construct(EntryPastRepository $entryPastRepository, FileUtil $fileUtil, CloudStorageService $storage, Url $url) : mixed
Parameters
- $entryPastRepository : EntryPastRepository
- $fileUtil : FileUtil
- $storage : CloudStorageService
- $url : Url
clientDownloadFakeFileByEntryPastId()
public
clientDownloadFakeFileByEntryPastId(int $entryPastId) : void
Parameters
- $entryPastId : int
Tags
clientDownloadHumanFileByEntryPastId()
public
clientDownloadHumanFileByEntryPastId(int $entryPastId) : void
Parameters
- $entryPastId : int
Tags
clientDownloadWorkFileByEntryPastId()
public
clientDownloadWorkFileByEntryPastId(int $entryPastId) : void
Parameters
- $entryPastId : int
Tags
clientDownloadXmlFileByEntryPastId()
public
clientDownloadXmlFileByEntryPastId(int $entryPastId) : void
Parameters
- $entryPastId : int
Tags
entryPastsToReportDownloadLists()
public
entryPastsToReportDownloadLists(array<string|int, EntryPast> $entryPasts) : array<string|int, ReportDownload>
Parameters
- $entryPasts : array<string|int, EntryPast>
Return values
array<string|int, ReportDownload>entryPastToReportDownload()
public
entryPastToReportDownload(EntryPast $entryPast) : ReportDownload
Parameters
- $entryPast : EntryPast
Return values
ReportDownloadgenerateDownloadUrlByEntryPastIdAndFileType()
private
generateDownloadUrlByEntryPastIdAndFileType(int $entryPastId, string $fileType) : string
Parameters
- $entryPastId : int
- $fileType : string