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.

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
getDefaultDuplicationBehaviourAction()  : string
Return the default duplication behaviour action, set in TSconfig
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

$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) : 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
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

getDefaultDuplicationBehaviourAction()

Return the default duplication behaviour action, set in TSconfig

protected getDefaultDuplicationBehaviourAction() : string
Return values
string

getFileUploadUrl()

Returns the URL for uploading files

protected getFileUploadUrl() : string
Return values
string

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