‪TYPO3CMS  9.5
TYPO3\CMS\Backend\Controller\File\FileUploadController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\File\FileUploadController:
TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
 main ()
 
string renderUploadForm ()
 
- ‪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

 init (ServerRequestInterface $request)
 
 renderContent ()
 
string renderUploadFormInternal ()
 
LanguageService getLanguageService ()
 

Protected Attributes

array $deprecatedPublicProperties
 
string $title
 
string $target
 
string $returnUrl
 
string $content
 
TYPO3 CMS Core Resource Folder $folderObject
 
ModuleTemplate $moduleTemplate
 

Detailed Description

Script Class for display up to 10 upload fields

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

Definition at line 33 of file FileUploadController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getLanguageService()

◆ init()

TYPO3\CMS\Backend\Controller\File\FileUploadController::init ( ServerRequestInterface  $request)
protected

◆ main()

TYPO3\CMS\Backend\Controller\File\FileUploadController::main ( )

Main function, rendering the upload file form fields

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

Definition at line 110 of file FileUploadController.php.

References TYPO3\CMS\Backend\Controller\File\FileUploadController\renderContent().

◆ mainAction()

ResponseInterface TYPO3\CMS\Backend\Controller\File\FileUploadController::mainAction ( ServerRequestInterface  $request)

Processes the request, currently everything is handled and put together via "renderContent()"

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content

Definition at line 99 of file FileUploadController.php.

References TYPO3\CMS\Backend\Controller\File\FileUploadController\renderContent().

◆ renderContent()

◆ renderUploadForm()

string TYPO3\CMS\Backend\Controller\File\FileUploadController::renderUploadForm ( )

This function renders the upload form

Returns
‪string The HTML form as a string, ready for outputting
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 122 of file FileUploadController.php.

References TYPO3\CMS\Backend\Controller\File\FileUploadController\renderUploadFormInternal().

◆ renderUploadFormInternal()

string TYPO3\CMS\Backend\Controller\File\FileUploadController::renderUploadFormInternal ( )
protected

Member Data Documentation

◆ $content

string TYPO3\CMS\Backend\Controller\File\FileUploadController::$content
protected

◆ $deprecatedPublicProperties

array TYPO3\CMS\Backend\Controller\File\FileUploadController::$deprecatedPublicProperties
protected
Initial value:
= array(
'title' => 'Using $title of class FileUploadController from outside is discouraged as this variable is only used for internal storage.',
'target' => 'Using $target of class FileUploadController from outside is discouraged as this variable is only used for internal storage.',
'returnUrl' => 'Using $returnUrl of class FileUploadController from outside is discouraged as this variable is only used for internal storage.',
'content' => 'Using $content of class FileUploadController from outside is discouraged as this variable is only used for internal storage.',
)

Definition at line 38 of file FileUploadController.php.

◆ $folderObject

TYPO3 CMS Core Resource Folder TYPO3\CMS\Backend\Controller\File\FileUploadController::$folderObject
protected

The folder object which is the target directory for the upload

$folderObject

Definition at line 73 of file FileUploadController.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Backend\Controller\File\FileUploadController::$moduleTemplate
protected

ModuleTemplate object

Definition at line 79 of file FileUploadController.php.

◆ $returnUrl

string TYPO3\CMS\Backend\Controller\File\FileUploadController::$returnUrl
protected

Return URL of list module.

Definition at line 61 of file FileUploadController.php.

◆ $target

string TYPO3\CMS\Backend\Controller\File\FileUploadController::$target
protected

Set with the target path inputted in &target

Definition at line 55 of file FileUploadController.php.

◆ $title

string TYPO3\CMS\Backend\Controller\File\FileUploadController::$title
protected

Name of the filemount

Definition at line 49 of file FileUploadController.php.

Referenced by TYPO3\CMS\Backend\Controller\File\FileUploadController\init().