FileListController implements LoggerAwareInterface uses LoggerAwareTrait
Script Class for creating the list of files in the File > Filelist module.
this is a concrete TYPO3 controller implementation and solely used for EXT:filelist and not part of TYPO3's Core API.
Attributes
- #[AsController]
Table of Contents
Interfaces
- LoggerAwareInterface
Properties
- $allowClipboard : bool
- $cmd : string
- $currentPage : int
- $filelist : FileList|null
- $folderObject : Folder|null
- $iconFactory : IconFactory
- $id : string
- $moduleData : ModuleData|null
- $moduleTemplateFactory : ModuleTemplateFactory
- $overwriteExistingFiles : DuplicationBehavior|null
- $pageRenderer : PageRenderer
- $resourceFactory : ResourceFactory
- $responseFactory : ResponseFactoryInterface
- $searchTerm : string
- $uriBuilder : UriBuilder
- $view : ModuleTemplate|null
- $viewFactory : BackendViewFactory
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- addFlashMessage() : void
- Adds a flash message to the default flash message queue
- generateFileList() : void
- getBackendUser() : BackendUserAuthentication
- getFileUploadUrl() : string
- Returns the URL for uploading files
- getLanguageService() : LanguageService
- getModuleHeadline() : string
- Get main headline based on active folder or storage for backend module Folder names are resolved to their special names like done in the tree view.
- htmlResponse() : ResponseInterface
- Generate a response by either the given $html or by rendering the module content.
- initializeFileList() : void
- initializeModule() : void
- processRequest() : ResponseInterface
- registerAdditionalDocHeaderButtons() : void
- Create the panel of buttons for submitting the form or otherwise perform operations.
- registerDragUploader() : void
- registerFileListCheckboxes() : void
Properties
$allowClipboard
protected
bool
$allowClipboard
= true
$cmd
protected
string
$cmd
= ''
$currentPage
protected
int
$currentPage
= 1
$filelist
protected
FileList|null
$filelist
= null
$folderObject
protected
Folder|null
$folderObject
= null
$iconFactory read-only
protected
IconFactory
$iconFactory
$id
protected
string
$id
= ''
$moduleData
protected
ModuleData|null
$moduleData
= null
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$overwriteExistingFiles
protected
DuplicationBehavior|null
$overwriteExistingFiles
= null
$pageRenderer read-only
protected
PageRenderer
$pageRenderer
$resourceFactory read-only
protected
ResourceFactory
$resourceFactory
$responseFactory read-only
protected
ResponseFactoryInterface
$responseFactory
$searchTerm
protected
string
$searchTerm
= ''
$uriBuilder read-only
protected
UriBuilder
$uriBuilder
$view
protected
ModuleTemplate|null
$view
= null
$viewFactory read-only
protected
BackendViewFactory
$viewFactory
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, PageRenderer $pageRenderer, IconFactory $iconFactory, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory, BackendViewFactory $viewFactory, ResponseFactoryInterface $responseFactory) : mixed
Parameters
- $uriBuilder : UriBuilder
- $pageRenderer : PageRenderer
- $iconFactory : IconFactory
- $resourceFactory : ResourceFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $viewFactory : BackendViewFactory
- $responseFactory : ResponseFactoryInterface
handleRequest()
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceaddFlashMessage()
Adds a flash message to the default flash message queue
protected
addFlashMessage(string $message[, string $title = '' ][, ContextualFeedbackSeverity $severity = ContextualFeedbackSeverity::INFO ]) : void
Parameters
- $message : string
- $title : string = ''
- $severity : ContextualFeedbackSeverity = ContextualFeedbackSeverity::INFO
generateFileList()
protected
generateFileList(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetFileUploadUrl()
Returns the URL for uploading files
protected
getFileUploadUrl() : string
Return values
stringgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetModuleHeadline()
Get main headline based on active folder or storage for backend module Folder names are resolved to their special names like done in the tree view.
protected
getModuleHeadline() : string
Return values
stringhtmlResponse()
Generate a response by either the given $html or by rendering the module content.
protected
htmlResponse(string $html) : ResponseInterface
Parameters
- $html : string
Return values
ResponseInterfaceinitializeFileList()
protected
initializeFileList(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
initializeModule()
protected
initializeModule(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
processRequest()
protected
processRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceregisterAdditionalDocHeaderButtons()
Create the panel of buttons for submitting the form or otherwise perform operations.
protected
registerAdditionalDocHeaderButtons(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
registerDragUploader()
protected
registerDragUploader() : void
registerFileListCheckboxes()
protected
registerFileListCheckboxes() : void