TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\Wizard\EditController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\Wizard\EditController:
TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController TYPO3\CMS\Backend\Module\AbstractModule

Public Member Functions

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

Public Attributes

 $P
 
 $doClose
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController
 checkEditAccess ($table, $uid)
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
 getDocumentTemplate ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $closeWindow = '<script language="javascript" type="text/javascript">close();</script>'
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractModule
 $moduleTemplate
 
 $request
 

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()

TYPO3\CMS\Backend\Controller\Wizard\EditController::__construct ( )

Member Function Documentation

◆ closeWindow()

TYPO3\CMS\Backend\Controller\Wizard\EditController::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 TYPO3\CMS\Backend\Controller\Wizard\EditController\$closeWindow, and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

◆ init()

TYPO3\CMS\Backend\Controller\Wizard\EditController::init ( )
protected

Initialization of the script

Returns
void

Definition at line 68 of file EditController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GP().

Referenced by TYPO3\CMS\Backend\Controller\Wizard\EditController\__construct().

◆ mainAction()

TYPO3\CMS\Backend\Controller\Wizard\EditController::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 TYPO3\CMS\Backend\Controller\Wizard\EditController\$closeWindow, $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Utility\HttpUtility\redirect(), and TYPO3\CMS\Core\Utility\GeneralUtility\revExplode().

Member Data Documentation

◆ $closeWindow

TYPO3\CMS\Backend\Controller\Wizard\EditController::$closeWindow = '<script language="javascript" type="text/javascript">close();</script>'
protected

◆ $doClose

TYPO3\CMS\Backend\Controller\Wizard\EditController::$doClose

Definition at line 42 of file EditController.php.

◆ $P

TYPO3\CMS\Backend\Controller\Wizard\EditController::$P

Definition at line 35 of file EditController.php.