‪TYPO3CMS  11.5
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

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

const JAVASCRIPT_HELPER = 'EXT:backend/Resources/Public/JavaScript/Helper.js'
 
array $P
 
int $doClose
 
string $closeWindow
 

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 36 of file EditController.php.

Constructor & Destructor Documentation

◆ __construct()

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

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 89 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 110 of file EditController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\ArrayUtility\getValueByPath(), 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
protected

Definition at line 67 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 60 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 54 of file EditController.php.

◆ JAVASCRIPT_HELPER

const TYPO3\CMS\Backend\Controller\Wizard\EditController::JAVASCRIPT_HELPER = 'EXT:backend/Resources/Public/JavaScript/Helper.js'
protected

Definition at line 38 of file EditController.php.