‪TYPO3CMS  ‪main
TYPO3\CMS\Filelist\Controller\File\CreateFileController Class Reference

Public Member Functions

 __construct (protected readonly IconFactory $iconFactory, protected readonly PageRenderer $pageRenderer, protected readonly ResourceFactory $resourceFactory, protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly OnlineMediaHelperRegistry $onlineMediaHelperRegistry,)
 
 mainAction (ServerRequestInterface $request)
 

Protected Member Functions

 initialize (ServerRequestInterface $request)
 
 getLanguageService ()
 

Protected Attributes

string $target = ''
 
Folder $folderObject = null
 
string $returnUrl = ''
 
ModuleTemplate $view
 

Detailed Description

Display form to create a new file.

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 42 of file CreateFileController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Filelist\Controller\File\CreateFileController::__construct ( protected readonly IconFactory  $iconFactory,
protected readonly PageRenderer  $pageRenderer,
protected readonly ResourceFactory  $resourceFactory,
protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly OnlineMediaHelperRegistry  $onlineMediaHelperRegistry 
)

Definition at line 61 of file CreateFileController.php.

Member Function Documentation

◆ getLanguageService()

TYPO3\CMS\Filelist\Controller\File\CreateFileController::getLanguageService ( )
protected

◆ initialize()

TYPO3\CMS\Filelist\Controller\File\CreateFileController::initialize ( ServerRequestInterface  $request)
protected

◆ mainAction()

Member Data Documentation

◆ $folderObject

Folder TYPO3\CMS\Filelist\Controller\File\CreateFileController::$folderObject = null
protected

The folder object which is the target directory

Definition at line 52 of file CreateFileController.php.

◆ $returnUrl

string TYPO3\CMS\Filelist\Controller\File\CreateFileController::$returnUrl = ''
protected

Return URL of file list module.

Definition at line 57 of file CreateFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\CreateFileController\mainAction().

◆ $target

string TYPO3\CMS\Filelist\Controller\File\CreateFileController::$target = ''
protected

Set with the target path inputted in &target

Definition at line 47 of file CreateFileController.php.

Referenced by TYPO3\CMS\Filelist\Controller\File\CreateFileController\mainAction().

◆ $view

ModuleTemplate TYPO3\CMS\Filelist\Controller\File\CreateFileController::$view
protected

Definition at line 59 of file CreateFileController.php.