Class PersonalDataInvoiceFileStorage
category |
System |
---|---|
package |
PersonalData |
subpackage |
Storage |
__construct(\WritableDirectory $storageDirectory)
deleteFile(\FilenameStringType $filename) : \AbstractFileStorage
Deletes an existing file.
\AbstractFileStorage
Same instance for chained method calls.
fileExists(\FilenameStringType $filename) : boolean
Checks if the provided file exists.
boolean
getFileList(\WritableDirectory $directory, array $extensions = array()) : array
array
File extensions (optional).
array
getFileListByInvoiceList(\InvoiceListItemCollection $invoiceList) : \ExistingFileCollection
Throws |
|
---|
\InvoiceListItemCollection
\ExistingFileCollection
importFile(\ExistingFile $sourceFile, \FilenameStringType $preferredFilename) : string
Saves an image to a writable directory.
Throws |
|
---|
string
The created filename
renameFile(\FilenameStringType $oldName, \FilenameStringType $newName) : \AbstractFileStorage
Renames an existing image file.
Throws |
|
---|
\AbstractFileStorage
Same instance for chained method calls.