EntryPaymentUploadController
extends Controller
in package
Table of Contents
Constants
- FILE_UPLOAD_KEY = 'import'
Properties
- $dateTime : mixed
- $em : EntityManager
- $entry : mixed
- $entryId : mixed
- $entryReport : mixed
- $extension : mixed
- $file : File|null
- $filename : mixed
- $storage : GoogleCloudStorageComponent
- $uploadHandler : mixed
- $version : mixed
Methods
- initialize() : mixed
- uploadAction() : mixed
- deleteLocalFile() : mixed
- getCloudFolderPath() : mixed
- getCloudFullPath() : mixed
- getCloudUploadPath() : mixed
- getDateStringForFile() : mixed
- getDateTime() : mixed
- getEntry() : mixed
- getEntryReport() : EntryReport|EntryPast
- getExtension() : mixed
- getFilename() : mixed
- getLocalFilePath() : string
- getStorageRelativePathPart() : string
- getUploadFolderPath() : mixed
- getUploadHandler() : FileUpload
- handleUpload() : mixed
- saveLocalFile() : mixed
- saveToCloud() : mixed
- validate() : mixed
- createDirectoryIfNeeded() : mixed
- getBucket() : mixed
- getCloudFileName() : mixed
- saveInfo() : mixed
Constants
FILE_UPLOAD_KEY
public
mixed
FILE_UPLOAD_KEY
= 'import'
Properties
$dateTime
protected
mixed
$dateTime
$em
protected
EntityManager
$em
$entry
protected
mixed
$entry
$entryId
protected
mixed
$entryId
$entryReport
protected
mixed
$entryReport
$extension
protected
mixed
$extension
$file
protected
File|null
$file
$filename
protected
mixed
$filename
$storage
protected
GoogleCloudStorageComponent
$storage
$uploadHandler
protected
mixed
$uploadHandler
$version
protected
mixed
$version
Methods
initialize()
public
initialize() : mixed
uploadAction()
public
uploadAction() : mixed
deleteLocalFile()
protected
deleteLocalFile() : mixed
getCloudFolderPath()
protected
getCloudFolderPath() : mixed
getCloudFullPath()
protected
getCloudFullPath() : mixed
getCloudUploadPath()
protected
getCloudUploadPath() : mixed
getDateStringForFile()
protected
getDateStringForFile() : mixed
getDateTime()
protected
getDateTime() : mixed
getEntry()
protected
getEntry() : mixed
getEntryReport()
protected
getEntryReport([bool $refresh = false ]) : EntryReport|EntryPast
Parameters
- $refresh : bool = false
Return values
EntryReport|EntryPastgetExtension()
protected
getExtension() : mixed
getFilename()
protected
getFilename() : mixed
getLocalFilePath()
protected
getLocalFilePath() : string
Return values
stringgetStorageRelativePathPart()
protected
getStorageRelativePathPart() : string
Return values
stringgetUploadFolderPath()
protected
getUploadFolderPath() : mixed
getUploadHandler()
protected
getUploadHandler() : FileUpload
Return values
FileUploadhandleUpload()
protected
handleUpload() : mixed
saveLocalFile()
protected
saveLocalFile() : mixed
saveToCloud()
protected
saveToCloud() : mixed
validate()
protected
validate() : mixed
createDirectoryIfNeeded()
private
createDirectoryIfNeeded(mixed $path) : mixed
Parameters
- $path : mixed
getBucket()
private
getBucket() : mixed
getCloudFileName()
private
getCloudFileName() : mixed
saveInfo()
private
saveInfo() : mixed