EntryDownloadController
in package
implements
IController
FinalYes
Table of Contents
Interfaces
Properties
- $clientRepository : ClientRepository
- $entryDownloadService : EntryDownloadService
- $eventsManager : Manager
- $request : Request
- $response : IResponse
Methods
- __construct() : mixed
- EntryDownloadController constructor.
- downloadEntriesByEntryFilterAction() : object
- downloadEntriesByEntryIdListAction() : object
- downloadEntryPastByEntryPastIdAndFileTypeAction() : void
- downloadEntryReportByEntryReportIdAndFileTypeAction() : void
- downloadReportByReportIdAndFileTypeAction() : void
- partnerDownloadEntryReportByEntryReportIdAction() : mixed
- createZip() : mixed
- removeFiles() : mixed
Properties
$clientRepository
private
ClientRepository
$clientRepository
$entryDownloadService
private
EntryDownloadService
$entryDownloadService
$eventsManager
private
Manager
$eventsManager
$request
private
Request
$request
$response
private
IResponse
$response
Methods
__construct()
EntryDownloadController constructor.
public
__construct(EntryDownloadService $entryDownloadService, Request $request, IResponse $response, Manager $eventsManager, ClientRepository $clientRepository) : mixed
Parameters
- $entryDownloadService : EntryDownloadService
- $request : Request
- $response : IResponse
- $eventsManager : Manager
- $clientRepository : ClientRepository
downloadEntriesByEntryFilterAction()
public
downloadEntriesByEntryFilterAction() : object
Return values
objectdownloadEntriesByEntryIdListAction()
public
downloadEntriesByEntryIdListAction() : object
Return values
objectdownloadEntryPastByEntryPastIdAndFileTypeAction()
public
downloadEntryPastByEntryPastIdAndFileTypeAction(int $entryPastId, string $fileType) : void
Parameters
- $entryPastId : int
- $fileType : string
downloadEntryReportByEntryReportIdAndFileTypeAction()
public
downloadEntryReportByEntryReportIdAndFileTypeAction(int $entryReportId, string $fileType) : void
Parameters
- $entryReportId : int
- $fileType : string
downloadReportByReportIdAndFileTypeAction()
public
downloadReportByReportIdAndFileTypeAction(int $reportId, string $fileType) : void
Parameters
- $reportId : int
- $fileType : string
partnerDownloadEntryReportByEntryReportIdAction()
public
partnerDownloadEntryReportByEntryReportIdAction(int $userId, int $entryReportId) : mixed
Parameters
- $userId : int
- $entryReportId : int
createZip()
private
createZip(mixed $files, Client $client, mixed $entryReportId) : mixed
Parameters
- $files : mixed
- $client : Client
- $entryReportId : mixed
removeFiles()
private
removeFiles(mixed $files) : mixed
Parameters
- $files : mixed