FileHandlingServiceConfiguration

Internal

Only to be used within Extbase, not part of TYPO3 Core API.

Table of Contents

Properties

$fileUploadConfigurations  : ObjectStorage<string|int, FileUploadConfiguration>
$fileUploadDeletionConfigurations  : ObjectStorage<string|int, FileUploadDeletionConfiguration>

Methods

__construct()  : mixed
addFileUploadConfiguration()  : void
getFileUploadConfigurationForProperty()  : FileUploadConfiguration|null
Returns the FileUploadConfiguration for the given propertyName
getFileUploadConfigurations()  : ObjectStorage
getFileUploadDeletionConfigurationForProperty()  : FileUploadDeletionConfiguration|null
Returns the FileUploadDeletionConfiguration for the given propertyName
getFileUploadDeletionConfigurations()  : ObjectStorage
Returns all file deletion configurations
hasfileUploadConfigurations()  : bool
registerFileDeletion()  : void
Registers a file deletion for the given property and file reference uid
validateFileOperations()  : Result
Validates file operations for the given argument by checking file upload and file deletion configurations and returning the validation result.

Properties

Methods

getFileUploadConfigurationForProperty()

Returns the FileUploadConfiguration for the given propertyName

public getFileUploadConfigurationForProperty(string $propertyName) : FileUploadConfiguration|null
Parameters
$propertyName : string
Return values
FileUploadConfiguration|null

hasfileUploadConfigurations()

public hasfileUploadConfigurations() : bool
Return values
bool

registerFileDeletion()

Registers a file deletion for the given property and file reference uid

public registerFileDeletion(string $property, int $fileReferenceUid) : void
Parameters
$property : string
$fileReferenceUid : int

validateFileOperations()

Validates file operations for the given argument by checking file upload and file deletion configurations and returning the validation result.

public validateFileOperations(Argument $argument) : Result
Parameters
$argument : Argument
Return values
Result

        
On this page

Search results