TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ReplaceFileController Class Reference
Inheritance diagram for ReplaceFileController:
AbstractModule

Public Member Functions

 __construct ()
 
 main ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
- Public Member Functions inherited from AbstractModule
 __construct ()
 
 processRequest (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $doc
 
 $title
 
 $uid
 
 $returnUrl
 
 $content
 

Protected Member Functions

 init ()
 
 getLanguageService ()
 

Protected Attributes

 $fileOrFolderObject
 
- Protected Attributes inherited from AbstractModule
 $moduleTemplate
 
 $request
 

Detailed Description

Script Class for the rename-file form

Definition at line 32 of file ReplaceFileController.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 80 of file ReplaceFileController.php.

References $GLOBALS, ReplaceFileController\init(), and GeneralUtility\makeInstance().

Member Function Documentation

getLanguageService ( )
protected
Returns
LanguageService

Definition at line 241 of file ReplaceFileController.php.

References $GLOBALS.

Referenced by ReplaceFileController\init(), and ReplaceFileController\main().

init ( )
protected
main ( )

Main function, rendering the content of the rename form

Returns
void

Definition at line 151 of file ReplaceFileController.php.

References $lang, ReplaceFileController\getLanguageService(), GeneralUtility\linkThisUrl(), and Icon\SIZE_SMALL.

Referenced by ReplaceFileController\mainAction().

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 230 of file ReplaceFileController.php.

References $response, MessageInterface\getBody(), and ReplaceFileController\main().

Member Data Documentation

$content

Definition at line 75 of file ReplaceFileController.php.

$doc

Definition at line 40 of file ReplaceFileController.php.

TYPO3 CMS Core Resource ResourceInterface $fileOrFolderObject
protected

The file or folder object that should be renamed

Definition at line 61 of file ReplaceFileController.php.

$returnUrl

Definition at line 68 of file ReplaceFileController.php.

$title

Definition at line 47 of file ReplaceFileController.php.

Referenced by ReplaceFileController\init().

$uid

Definition at line 54 of file ReplaceFileController.php.