EditController
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.
Attributes
- #[AsController]
Table of Contents
Constants
- JAVASCRIPT_HELPER = 'EXT:backend/Resources/Public/JavaScript/helper.js'
Properties
- $closeWindow : string
- HTML markup to close the open window.
- $doClose : int
- Boolean; if set, the window will be closed by JavaScript
- $P : array<string|int, mixed>
- Wizard parameters, coming from FormEngine linking to the wizard.
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- 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
- processRequest() : ResponseInterface
- Process request function Makes a header-location redirect to an edit form IF POSSIBLE from the passed data - otherwise the window will just close.
Constants
JAVASCRIPT_HELPER
protected
mixed
JAVASCRIPT_HELPER
= 'EXT:backend/Resources/Public/JavaScript/helper.js'
Properties
$closeWindow
HTML markup to close the open window.
protected
string
$closeWindow
$doClose
Boolean; if set, the window will be closed by JavaScript
protected
int
$doClose
$P
Wizard parameters, coming from FormEngine linking to the wizard.
protected
array<string|int, mixed>
$P
Contains the following parts:
- table
- field
- formName
- hmac
- fieldChangeFunc
- fieldChangeFuncHash
- currentValue
- currentSelectedValues
Methods
__construct()
public
__construct(FlexFormTools $flexFormTools) : mixed
Parameters
- $flexFormTools : FlexFormTools
mainAction()
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
public
mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceprocessRequest()
Process request function Makes a header-location redirect to an edit form IF POSSIBLE from the passed data - otherwise the window will just close.
protected
processRequest() : ResponseInterface