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

$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

$MOD_MENU

protected array<string|int, mixed> $MOD_MENU = []

$MOD_SETTINGS

protected array<string|int, mixed> $MOD_SETTINGS = []

$responseFactory

protected ResponseFactoryInterface $responseFactory

$searchTerm

protected string $searchTerm = ''

$view

protected ViewInterface|null $view = null

Methods

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 = '' ][, int $severity = FlashMessage::INFO ]) : void
Parameters
$message : string
$title : string = ''
$severity : int = FlashMessage::INFO

generateFileList()

protected generateFileList() : void

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

initializeView()

protected initializeView() : void

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

registerDrapUploader()

protected registerDrapUploader() : void

registerFileListCheckboxes()

protected registerFileListCheckboxes() : void

        
On this page

Search results