FileHandlingService implements SingletonInterface
Only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Constants
- DELETE_IDENTIFIER = '@delete'
Properties
- $dataMapFactory : DataMapFactory
- $eventDispatcher : EventDispatcherInterface
- $extensionService : ExtensionService
- $hashService : HashService
- $reflectionService : ReflectionService
- $resourceFactory : ResourceFactory
Methods
- __construct() : mixed
- applyDeletionsToArgument() : void
- initializeFileUploadConfigurationsFromRequest() : void
- Initializes file upload configurations for all FileUpload properties of the argument. Note, that this is only applied for the HTTP method POST.
- initializeFileUploadDeletionConfigurationsFromRequest() : void
- Initializes file deletion configurations for properties of the given argument.
- mapUploadedFilesToArgument() : void
- Maps and persists (if required) uploaded files for the given argument.
Constants
DELETE_IDENTIFIER
public
mixed
DELETE_IDENTIFIER
= '@delete'
Properties
$dataMapFactory read-only
protected
DataMapFactory
$dataMapFactory
$eventDispatcher read-only
protected
EventDispatcherInterface
$eventDispatcher
$extensionService read-only
protected
ExtensionService
$extensionService
$hashService read-only
protected
HashService
$hashService
$reflectionService read-only
protected
ReflectionService
$reflectionService
$resourceFactory read-only
protected
ResourceFactory
$resourceFactory
Methods
__construct()
public
__construct(ReflectionService $reflectionService, ResourceFactory $resourceFactory, DataMapFactory $dataMapFactory, EventDispatcherInterface $eventDispatcher, HashService $hashService, ExtensionService $extensionService) : mixed
Parameters
- $reflectionService : ReflectionService
- $resourceFactory : ResourceFactory
- $dataMapFactory : DataMapFactory
- $eventDispatcher : EventDispatcherInterface
- $hashService : HashService
- $extensionService : ExtensionService
applyDeletionsToArgument()
public
applyDeletionsToArgument(Argument $argument) : void
Parameters
- $argument : Argument
initializeFileUploadConfigurationsFromRequest()
Initializes file upload configurations for all FileUpload properties of the argument. Note, that this is only applied for the HTTP method POST.
public
initializeFileUploadConfigurationsFromRequest(RequestInterface $request, Arguments $arguments) : void
Parameters
- $request : RequestInterface
- $arguments : Arguments
initializeFileUploadDeletionConfigurationsFromRequest()
Initializes file deletion configurations for properties of the given argument.
public
initializeFileUploadDeletionConfigurationsFromRequest(RequestInterface $request, Arguments $arguments) : void
Parameters
- $request : RequestInterface
- $arguments : Arguments
mapUploadedFilesToArgument()
Maps and persists (if required) uploaded files for the given argument.
public
mapUploadedFilesToArgument(Argument $argument) : void
Parameters
- $argument : Argument