TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\File\FileUploadController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\File\FileUploadController:
TYPO3\CMS\Backend\Module\AbstractModule

Public Member Functions

 __construct ()
 
 main ()
 
 renderUploadForm ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractModule
 __construct ()
 
 processRequest (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $title
 
 $target
 
 $returnUrl
 
 $content
 

Protected Member Functions

 init ()
 
 getLanguageService ()
 

Protected Attributes

 $folderObject
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractModule
 $moduleTemplate
 
 $request
 

Detailed Description

Script Class for display up to 10 upload fields

Definition at line 29 of file FileUploadController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getLanguageService()

◆ init()

◆ main()

◆ mainAction()

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

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

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

Definition at line 208 of file FileUploadController.php.

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

◆ renderUploadForm()

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

This function renders the upload form

Returns
string The HTML form as a string, ready for outputting

Definition at line 168 of file FileUploadController.php.

References TYPO3\CMS\Backend\Controller\File\FileUploadController\$content, and TYPO3\CMS\Backend\Controller\File\FileUploadController\getLanguageService().

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

Member Data Documentation

◆ $content

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

◆ $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

Definition at line 64 of file FileUploadController.php.

◆ $returnUrl

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

Definition at line 50 of file FileUploadController.php.

◆ $target

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

Definition at line 43 of file FileUploadController.php.

◆ $title

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