TYPO3
7.6
|
Public Member Functions | |
__construct () | |
main () | |
renderUploadForm () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
Public Member Functions inherited from 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 AbstractModule | |
$moduleTemplate | |
$request | |
Script Class for display up to 10 upload fields
Definition at line 29 of file FileUploadController.php.
__construct | ( | ) |
Constructor
Definition at line 69 of file FileUploadController.php.
References $GLOBALS, FileUploadController\getLanguageService(), and FileUploadController\init().
|
protected |
Returns LanguageService
Definition at line 221 of file FileUploadController.php.
References $GLOBALS.
Referenced by FileUploadController\__construct(), FileUploadController\init(), FileUploadController\main(), and FileUploadController\renderUploadForm().
|
protected |
Initialize
InsufficientFolderAccessPermissionsException |
Definition at line 82 of file FileUploadController.php.
References FileUploadController\$title, GeneralUtility\_GP(), GeneralUtility\getIndpEnv(), ResourceFactory\getInstance(), FileUploadController\getLanguageService(), and GeneralUtility\sanitizeLocalUrl().
Referenced by FileUploadController\__construct().
main | ( | ) |
Main function, rendering the upload file form fields
Definition at line 126 of file FileUploadController.php.
References $lang, FileUploadController\getLanguageService(), GeneralUtility\linkThisUrl(), FileUploadController\renderUploadForm(), and Icon\SIZE_SMALL.
Referenced by FileUploadController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Processes the request, currently everything is handled and put together via "main()"
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 208 of file FileUploadController.php.
References $response, MessageInterface\getBody(), and FileUploadController\main().
renderUploadForm | ( | ) |
This function renders the upload form
Definition at line 168 of file FileUploadController.php.
References FileUploadController\$content, and FileUploadController\getLanguageService().
Referenced by FileUploadController\main().
$content |
Definition at line 57 of file FileUploadController.php.
Referenced by FileUploadController\renderUploadForm().
|
protected |
The folder object which is the target directory for the upload
Definition at line 64 of file FileUploadController.php.
$returnUrl |
Definition at line 50 of file FileUploadController.php.
$target |
Definition at line 43 of file FileUploadController.php.
$title |
Definition at line 36 of file FileUploadController.php.
Referenced by FileUploadController\init().