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.
Table of Contents
Interfaces
- LoggerAwareInterface
Properties
- $cmd : string
- $filelist : FileList|null
- $folderObject : Folder|null
- $iconFactory : IconFactory
- $id : string
- $MOD_MENU : array<string|int, mixed>
- $MOD_SETTINGS : array<string|int, mixed>
- $moduleTemplate : ModuleTemplate|null
- $moduleTemplateFactory : ModuleTemplateFactory
- $overwriteExistingFiles : DuplicationBehavior|null
- $pageRenderer : PageRenderer
- $pointer : int
- $resourceFactory : ResourceFactory
- $responseFactory : ResponseFactoryInterface
- $searchTerm : string
- $uriBuilder : UriBuilder
- $view : ViewInterface|null
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- addFlashMessage() : void
- Adds a flash message to the default flash message queue
- generateFileList() : void
- getBackendUser() : BackendUserAuthentication
- Returns the current BE user.
- getDefaultDuplicationBehaviourAction() : string
- Return the default duplication behaviour action, set in TSconfig
- getFileUploadUrl() : string
- Returns the URL for uploading files
- getLanguageService() : LanguageService
- Returns an instance of 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
- initializeView() : void
- processRequest() : ResponseInterface
- registerAdditionalDocHeaderButtons() : void
- Create the panel of buttons for submitting the form or otherwise perform operations.
- registerDrapUploader() : void
- registerFileListCheckboxes() : void
Properties
$cmd
protected
string
$cmd
= ''
$filelist
protected
FileList|null
$filelist
= null
$folderObject
protected
Folder|null
$folderObject
= null
$iconFactory
protected
IconFactory
$iconFactory
$id
protected
string
$id
= ''
$MOD_MENU
protected
array<string|int, mixed>
$MOD_MENU
= []
$MOD_SETTINGS
protected
array<string|int, mixed>
$MOD_SETTINGS
= []
$moduleTemplate
protected
ModuleTemplate|null
$moduleTemplate
= null
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$overwriteExistingFiles
protected
DuplicationBehavior|null
$overwriteExistingFiles
= null
$pageRenderer
protected
PageRenderer
$pageRenderer
$pointer
protected
int
$pointer
= 0
$resourceFactory
protected
ResourceFactory
$resourceFactory
$responseFactory
protected
ResponseFactoryInterface
$responseFactory
$searchTerm
protected
string
$searchTerm
= ''
$uriBuilder
protected
UriBuilder
$uriBuilder
$view
protected
ViewInterface|null
$view
= null
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, PageRenderer $pageRenderer, IconFactory $iconFactory, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory, ResponseFactoryInterface $responseFactory) : mixed
Parameters
- $uriBuilder : UriBuilder
- $pageRenderer : PageRenderer
- $iconFactory : IconFactory
- $resourceFactory : ResourceFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $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 = '' ][, int $severity = FlashMessage::INFO ]) : void
Parameters
- $message : string
- $title : string = ''
- $severity : int = FlashMessage::INFO
generateFileList()
protected
generateFileList() : void
getBackendUser()
Returns the current BE user.
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetDefaultDuplicationBehaviourAction()
Return the default duplication behaviour action, set in TSconfig
protected
getDefaultDuplicationBehaviourAction() : string
Return values
stringgetFileUploadUrl()
Returns the URL for uploading files
protected
getFileUploadUrl() : string
Return values
stringgetLanguageService()
Returns an instance of LanguageService
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
initializeView()
protected
initializeView() : void
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
registerDrapUploader()
protected
registerDrapUploader() : void
registerFileListCheckboxes()
protected
registerFileListCheckboxes() : void