‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Controller\Wizard\EditController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\Wizard\EditController:
TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController

Public Member Functions

ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

ResponseInterface processRequest ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController
bool checkEditAccess ($table, $uid)
 
BackendUserAuthentication getBackendUserAuthentication ()
 
LanguageService getLanguageService ()
 

Protected Attributes

array $P
 
int $doClose
 
string $closeWindow = '<script>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

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 34 of file EditController.php.

Member Function Documentation

◆ mainAction()

ResponseInterface TYPO3\CMS\Backend\Controller\Wizard\EditController::mainAction ( ServerRequestInterface  $request)

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
Returns
‪ResponseInterface

Definition at line 71 of file EditController.php.

References TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController\getLanguageService(), TYPO3\CMS\Core\Localization\LanguageService\includeLLFile(), and TYPO3\CMS\Backend\Controller\Wizard\EditController\processRequest().

◆ processRequest()

ResponseInterface TYPO3\CMS\Backend\Controller\Wizard\EditController::processRequest ( )
protected

Process request function Makes a header-location redirect to an edit form IF POSSIBLE from the passed data - otherwise the window will just close.

Returns
‪ResponseInterface

Definition at line 92 of file EditController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Core\Utility\GeneralUtility\revExplode().

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

Member Data Documentation

◆ $closeWindow

string TYPO3\CMS\Backend\Controller\Wizard\EditController::$closeWindow = '<script>close();</script>'
protected

A little JavaScript to close the open window.

Definition at line 62 of file EditController.php.

◆ $doClose

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

Boolean; if set, the window will be closed by JavaScript

Definition at line 56 of file EditController.php.

◆ $P

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

Wizard parameters, coming from FormEngine linking to the wizard.

Contains the following parts:

  • ‪table
  • ‪field
  • ‪formName
  • ‪hmac
  • ‪fieldChangeFunc
  • ‪fieldChangeFuncHash
  • ‪currentValue
  • ‪currentSelectedValues

Definition at line 50 of file EditController.php.