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

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 closeWindow ()
 

Public Attributes

 $P
 
 $doClose
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from AbstractWizardController
 checkEditAccess ($table, $uid)
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
 getDocumentTemplate ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $closeWindow = '<script language="javascript" type="text/javascript">close();</script>'
 

Detailed Description

Script Class for redirecting a backend user to the editing form when an "Edit wizard" link was clicked in FormEngine somewhere

Definition at line 28 of file EditController.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 54 of file EditController.php.

References $GLOBALS, AbstractWizardController\getLanguageService(), and EditController\init().

Member Function Documentation

closeWindow ( )

Printing a little JavaScript to close the open window.

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 160 of file EditController.php.

References EditController\$closeWindow, and GeneralUtility\logDeprecatedFunction().

init ( )
protected

Initialization of the script

Returns
void

Definition at line 68 of file EditController.php.

References GeneralUtility\_GP().

Referenced by EditController\__construct().

mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 83 of file EditController.php.

References $response, and MessageInterface\getBody().

Member Data Documentation

$closeWindow = '<script language="javascript" type="text/javascript">close();</script>'
protected

Definition at line 49 of file EditController.php.

Referenced by EditController\closeWindow().

$doClose

Definition at line 42 of file EditController.php.

$P

Definition at line 35 of file EditController.php.