FileUpdateOnlineMediaController
Controller class to update an online media resource
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
- $onlineMediaHelperRegistry : OnlineMediaHelperRegistry
- $previewService : PreviewService
- $resourceFactory : ResourceFactory
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- createResponse() : ResponseInterface
- getBackendUser() : BackendUserAuthentication
Properties
$onlineMediaHelperRegistry read-only
protected
OnlineMediaHelperRegistry
$onlineMediaHelperRegistry
$previewService read-only
protected
PreviewService
$previewService
$resourceFactory read-only
protected
ResourceFactory
$resourceFactory
$responseFactory read-only
protected
ResponseFactoryInterface
$responseFactory
$streamFactory read-only
protected
StreamFactoryInterface
$streamFactory
Methods
__construct()
public
__construct(ResourceFactory $resourceFactory, OnlineMediaHelperRegistry $onlineMediaHelperRegistry, PreviewService $previewService, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory) : mixed
Parameters
- $resourceFactory : ResourceFactory
- $onlineMediaHelperRegistry : OnlineMediaHelperRegistry
- $previewService : PreviewService
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
handleRequest()
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacecreateResponse()
protected
createResponse([array<string|int, mixed> $data = [] ][, int $status = 200 ]) : ResponseInterface
Parameters
- $data : array<string|int, mixed> = []
- $status : int = 200
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication