‪TYPO3CMS  9.5
TYPO3\CMS\Filelist\Controller\FileListController Class Reference
Inheritance diagram for TYPO3\CMS\Filelist\Controller\FileListController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait TYPO3\CMS\Extbase\Mvc\Controller\AbstractController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 injectFileRepository (\TYPO3\CMS\Core\Resource\FileRepository $fileRepository)
 
 initializeObject ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 injectCacheService (\TYPO3\CMS\Extbase\Service\CacheService $cacheService)
 
 injectMvcPropertyMappingConfigurationService (\TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 injectSignalSlotDispatcher (\TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher)
 
 injectValidatorResolver (\TYPO3\CMS\Extbase\Validation\ValidatorResolver $validatorResolver)
 
ControllerContext getControllerContext ()
 
 __construct ()
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 addFlashMessage ($messageBody, $messageTitle='', $severity=\TYPO3\CMS\Core\Messaging\AbstractMessage::OK, $storeInSession=true)
 
bool canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request)
 
 forward ($actionName, $controllerName=null, $extensionName=null, array $arguments=null)
 
 throwStatus ($statusCode, $statusMessage=null, $content=null)
 
 initializeControllerArgumentsBaseValidators ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 

Protected Member Functions

 menuConfig ()
 
 initializeView (ViewInterface $view)
 
 initializeIndexAction ()
 
 indexAction ()
 
 missingFolderAction ()
 
 searchAction ($searchWord='')
 
string getModuleHeadline ()
 
 registerDocHeaderButtons ()
 
 registerButtons ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 renderAssetsForRequest ($request)
 
 initializeActionMethodArguments ()
 
 initializeActionMethodValidators ()
 
string resolveActionMethodName ()
 
 callActionMethod ()
 
 emitBeforeCallActionMethodSignal (array $preparedArguments)
 
ViewInterface resolveView ()
 
 setViewConfiguration (ViewInterface $view)
 
array getViewProperty ($extbaseFrameworkConfiguration, $setting)
 
mixed resolveViewObjectName ()
 
 initializeAction ()
 
string errorAction ()
 
 clearCacheOnError ()
 
 addErrorFlashMessage ()
 
string getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
string getFlattenedValidationErrorMessage ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
TYPO3 CMS Extbase Mvc Controller ControllerContext buildControllerContext ()
 
 redirect ($actionName, $controllerName=null, $extensionName=null, array $arguments=null, $pageUid=null, $delay=0, $statusCode=303)
 
 redirectToUri ($uri, $delay=0, $statusCode=303)
 
string addBaseUriIfNecessary ($uri)
 
 mapRequestArgumentsToControllerArguments ()
 

Protected Attributes

array $MOD_MENU = array( )
 
array $MOD_SETTINGS = array( )
 
DocumentTemplate $doc
 
string $id
 
Folder $folderObject
 
FlashMessage $errorMessage
 
int $pointer
 
string $table
 
string $imagemode
 
string $cmd
 
TYPO3 CMS Core Resource DuplicationBehavior $overwriteExistingFiles
 
FileList $filelist
 
string $moduleName = 'file_list'
 
TYPO3 CMS Core Resource FileRepository $fileRepository
 
BackendTemplateView $view
 
BackendTemplateView $defaultViewObjectName = BackendTemplateView::class
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
TYPO3 CMS Extbase Reflection ReflectionService $reflectionService
 
TYPO3 CMS Extbase Service CacheService $cacheService
 
ViewInterface $view
 
string $namespacesViewObjectNamePattern = '@vendor\@extension\View\@controller\@action@format'
 
array $viewFormatToObjectNameMap = array( )
 
string $defaultViewObjectName = \TYPO3\CMS\Fluid\View\TemplateView::class
 
string $actionMethodName = 'indexAction'
 
string $errorMethodName = 'errorAction'
 
TYPO3 CMS Extbase Mvc Controller MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService
 
TYPO3 CMS Extbase Mvc Request $request
 
TYPO3 CMS Extbase Mvc Response $response
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
TYPO3 CMS Extbase SignalSlot Dispatcher $signalSlotDispatcher
 
TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
 
TYPO3 CMS Extbase Mvc Web Routing UriBuilder $uriBuilder
 
string $extensionName
 
array $settings
 
TYPO3 CMS Extbase Mvc RequestInterface $request
 
TYPO3 CMS Extbase Mvc ResponseInterface $response
 
TYPO3 CMS Extbase Validation ValidatorResolver $validatorResolver
 
TYPO3 CMS Extbase Mvc Controller Arguments $arguments
 
array $supportedRequestTypes = array( \TYPO3\CMS\Extbase\Mvc\Request::class )
 
TYPO3 CMS Extbase Mvc Controller ControllerContext $controllerContext
 
ConfigurationManagerInterface $configurationManager
 

Private Attributes

 $deprecatedPublicProperties
 
array $deprecatedPublicMethods
 

Additional Inherited Members

- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
static array getActionMethodParameters ($objectManager)
 

Detailed Description

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.

Definition at line 49 of file FileListController.php.

Member Function Documentation

◆ getBackendUser()

◆ getLanguageService()

LanguageService TYPO3\CMS\Filelist\Controller\FileListController::getLanguageService ( )
protected

◆ getModuleHeadline()

string TYPO3\CMS\Filelist\Controller\FileListController::getModuleHeadline ( )
protected

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.

Returns
‪string

Definition at line 572 of file FileListController.php.

References TYPO3\CMS\Core\Resource\Utility\ListUtility\resolveSpecialFolderNames().

Referenced by TYPO3\CMS\Filelist\Controller\FileListController\indexAction().

◆ indexAction()

◆ initializeIndexAction()

TYPO3\CMS\Filelist\Controller\FileListController::initializeIndexAction ( )
protected

◆ initializeObject()

◆ initializeView()

TYPO3\CMS\Filelist\Controller\FileListController::initializeView ( ViewInterface  $view)
protected

◆ injectFileRepository()

TYPO3\CMS\Filelist\Controller\FileListController::injectFileRepository ( \TYPO3\CMS\Core\Resource\FileRepository  $fileRepository)
Parameters
\TYPO3\CMS\Core\Resource\FileRepository$fileRepository

Definition at line 163 of file FileListController.php.

References TYPO3\CMS\Filelist\Controller\FileListController\$fileRepository.

◆ menuConfig()

TYPO3\CMS\Filelist\Controller\FileListController::menuConfig ( )
protected

◆ missingFolderAction()

TYPO3\CMS\Filelist\Controller\FileListController::missingFolderAction ( )
protected

◆ registerButtons()

◆ registerDocHeaderButtons()

TYPO3\CMS\Filelist\Controller\FileListController::registerDocHeaderButtons ( )
protected

Registers the Icons into the docheader

Exceptions

Definition at line 593 of file FileListController.php.

Referenced by TYPO3\CMS\Filelist\Controller\FileListController\initializeView().

◆ searchAction()

Member Data Documentation

◆ $cmd

string TYPO3\CMS\Filelist\Controller\FileListController::$cmd
protected

Definition at line 125 of file FileListController.php.

◆ $defaultViewObjectName

BackendTemplateView TYPO3\CMS\Filelist\Controller\FileListController::$defaultViewObjectName = BackendTemplateView::class
protected

BackendTemplateView Container

Definition at line 158 of file FileListController.php.

◆ $deprecatedPublicMethods

array TYPO3\CMS\Filelist\Controller\FileListController::$deprecatedPublicMethods
private
Initial value:
= array(
'menuConfig' => 'Using FileListController::menuConfig() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'initializeView' => 'Using FileListController::initializeView() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'initializeIndexAction' => 'Using FileListController::initializeIndexAction() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'indexAction' => 'Using FileListController::indexAction() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'missingFolderAction' => 'Using FileListController::missingFolderAction() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'searchAction' => 'Using FileListController::searchAction() is deprecated and will not be possible anymore in TYPO3 v10.0.',
)

Definition at line 67 of file FileListController.php.

◆ $deprecatedPublicProperties

TYPO3\CMS\Filelist\Controller\FileListController::$deprecatedPublicProperties
private
Initial value:
= array(
'MOD_MENU' => 'Using FileListController::$MOD_MENU is deprecated and will not be possible anymore in TYPO3 v10.0.',
'MOD_SETTINGS' => 'Using FileListController::$MOD_SETTINGS is deprecated and will not be possible anymore in TYPO3 v10.0.',
'doc' => 'Using FileListController::$doc is deprecated, property will be removed in TYPO3 v10.0.',
'id' => 'Using FileListController::$id is deprecated and will not be possible anymore in TYPO3 v10.0.',
'pointer' => 'Using FileListController::$pointer is deprecated and will not be possible anymore in TYPO3 v10.0.',
'table' => 'Using FileListController::$table is deprecated, , property will be removed in TYPO3 v10.0.',
'imagemode' => 'Using FileListController::$imagemode is deprecated and will not be possible anymore in TYPO3 v10.0.',
'cmd' => 'Using FileListController::$cmd is deprecated and will not be possible anymore in TYPO3 v10.0.',
'filelist' => 'Using FileListController::$filelist is deprecated and will not be possible anymore in TYPO3 v10.0.',
)

Definition at line 53 of file FileListController.php.

◆ $doc

DocumentTemplate TYPO3\CMS\Filelist\Controller\FileListController::$doc
protected

Document template object

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 89 of file FileListController.php.

◆ $errorMessage

FlashMessage TYPO3\CMS\Filelist\Controller\FileListController::$errorMessage
protected

Definition at line 103 of file FileListController.php.

◆ $filelist

FileList TYPO3\CMS\Filelist\Controller\FileListController::$filelist
protected

The filelist object

Definition at line 138 of file FileListController.php.

◆ $fileRepository

TYPO3 CMS Core Resource FileRepository TYPO3\CMS\Filelist\Controller\FileListController::$fileRepository
protected

◆ $folderObject

Folder TYPO3\CMS\Filelist\Controller\FileListController::$folderObject
protected

Definition at line 99 of file FileListController.php.

◆ $id

string TYPO3\CMS\Filelist\Controller\FileListController::$id
protected

"id" -> the path to list.

Definition at line 95 of file FileListController.php.

◆ $imagemode

string TYPO3\CMS\Filelist\Controller\FileListController::$imagemode
protected

Thumbnail mode.

Definition at line 121 of file FileListController.php.

◆ $MOD_MENU

array TYPO3\CMS\Filelist\Controller\FileListController::$MOD_MENU = array( )
protected

Definition at line 78 of file FileListController.php.

◆ $MOD_SETTINGS

array TYPO3\CMS\Filelist\Controller\FileListController::$MOD_SETTINGS = array( )
protected

Definition at line 82 of file FileListController.php.

◆ $moduleName

string TYPO3\CMS\Filelist\Controller\FileListController::$moduleName = 'file_list'
protected

The name of the module

Definition at line 144 of file FileListController.php.

◆ $overwriteExistingFiles

TYPO3 CMS Core Resource DuplicationBehavior TYPO3\CMS\Filelist\Controller\FileListController::$overwriteExistingFiles
protected

Defines behaviour when uploading files with names that already exist; possible values are the values of the \TYPO3\CMS\Core\Resource\DuplicationBehavior enumeration

Definition at line 132 of file FileListController.php.

◆ $pointer

int TYPO3\CMS\Filelist\Controller\FileListController::$pointer
protected

Pointer to listing

Definition at line 109 of file FileListController.php.

◆ $table

string TYPO3\CMS\Filelist\Controller\FileListController::$table
protected

"Table"

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 115 of file FileListController.php.

◆ $view

BackendTemplateView TYPO3\CMS\Filelist\Controller\FileListController::$view
protected