EditController

class \TYPO3\CMS\Backend\Controller\Wizard\EditController

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

Attributes

#[AsController]

Table of Contents

Constants

JAVASCRIPT_HELPER  : mixed = 'EXT:backend/Resources/Public/JavaScript/helper...

Properties

$closeWindow  : string
HTML markup to close the open window.
$doClose  : int
Boolean; if set, the window will be closed by JavaScript
$P  : array
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 $P

Contains the following parts:

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

Methods

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

ResponseInterface

processRequest()

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

Return values

ResponseInterface
On this page