FileListController implements LoggerAwareInterface uses LoggerAwareTrait

Script Class for creating the list of files in the File > Filelist module.

Internal

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
$componentFactory  : ComponentFactory
$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
$tcaSchemaFactory  : TcaSchemaFactory
$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
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

$currentPage

protected int $currentPage = 1

$responseFactory read-only

protected ResponseFactoryInterface $responseFactory

$searchTerm

protected string $searchTerm = ''

Methods

__construct()

public __construct(UriBuilder $uriBuilder, PageRenderer $pageRenderer, IconFactory $iconFactory, ResourceFactory $resourceFactory, ModuleTemplateFactory $moduleTemplateFactory, BackendViewFactory $viewFactory, ResponseFactoryInterface $responseFactory, TcaSchemaFactory $tcaSchemaFactory, ComponentFactory $componentFactory) : mixed
Parameters
$uriBuilder : UriBuilder
$pageRenderer : PageRenderer
$iconFactory : IconFactory
$resourceFactory : ResourceFactory
$moduleTemplateFactory : ModuleTemplateFactory
$viewFactory : BackendViewFactory
$responseFactory : ResponseFactoryInterface
$tcaSchemaFactory : TcaSchemaFactory
$componentFactory : ComponentFactory

handleRequest()

public handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

addFlashMessage()

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

getModuleHeadline()

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
string

htmlResponse()

Generate a response by either the given $html or by rendering the module content.

protected htmlResponse(string $html) : ResponseInterface
Parameters
$html : string
Return values
ResponseInterface

initializeFileList()

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
ResponseInterface

registerAdditionalDocHeaderButtons()

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

        
On this page

Search results