TYPO3
7.6
|
Public Member Functions | |
__construct () | |
init () | |
initClipboard () | |
main () | |
finish () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
Public Attributes | |
$flags | |
$data | |
$cmd | |
$mirror | |
$cacheCmd | |
$redirect | |
$prErr | |
$CB | |
$vC | |
$uPT | |
$tce | |
Protected Member Functions | |
getBackendUser () | |
Script Class, creating object of and sending the posted data to the object.
Used by many smaller forms/links in TYPO3, including the QuickEdit module. Is not used by FormEngine though (main form rendering script) - that uses the same class (TCEmain) but makes its own initialization (to save the redirect request). For all other cases than FormEngine it is recommended to use this script for submitting your editing forms - but the best solution in any case would probably be to link your application to FormEngine, that will give you easy form-rendering as well.
Definition at line 36 of file SimpleDataHandlerController.php.
__construct | ( | ) |
Constructor
Definition at line 119 of file SimpleDataHandlerController.php.
References $GLOBALS, and SimpleDataHandlerController\init().
finish | ( | ) |
Redirecting the user after the processing has been done. Might also display error messages directly, if any.
Definition at line 235 of file SimpleDataHandlerController.php.
References GeneralUtility\logDeprecatedFunction(), and HttpUtility\redirect().
|
protected |
Returns the current BE user.
Definition at line 323 of file SimpleDataHandlerController.php.
References $GLOBALS.
Referenced by SimpleDataHandlerController\init(), and SimpleDataHandlerController\main().
init | ( | ) |
Initialization of the class
Definition at line 130 of file SimpleDataHandlerController.php.
References GeneralUtility\_GP(), MathUtility\forceIntegerInRange(), SimpleDataHandlerController\getBackendUser(), GeneralUtility\makeInstance(), and GeneralUtility\sanitizeLocalUrl().
Referenced by SimpleDataHandlerController\__construct().
initClipboard | ( | ) |
Clipboard pasting and deleting.
Definition at line 174 of file SimpleDataHandlerController.php.
References GeneralUtility\makeInstance().
Referenced by SimpleDataHandlerController\mainAction().
main | ( | ) |
Executing the posted actions ...
Definition at line 199 of file SimpleDataHandlerController.php.
References $GLOBALS, SimpleDataHandlerController\getBackendUser(), GeneralUtility\getIndpEnv(), and BackendUtility\setUpdateSignal().
Referenced by SimpleDataHandlerController\mainAction().
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 just redirects to the given URL afterwards.
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 255 of file SimpleDataHandlerController.php.
References $response, SimpleDataHandlerController\initClipboard(), GeneralUtility\locationHeaderUrl(), SimpleDataHandlerController\main(), and MessageInterface\withHeader().
$cacheCmd |
Definition at line 72 of file SimpleDataHandlerController.php.
$CB |
Definition at line 93 of file SimpleDataHandlerController.php.
$cmd |
Definition at line 58 of file SimpleDataHandlerController.php.
$data |
Definition at line 50 of file SimpleDataHandlerController.php.
$flags |
Definition at line 43 of file SimpleDataHandlerController.php.
$mirror |
Definition at line 65 of file SimpleDataHandlerController.php.
$prErr |
Definition at line 86 of file SimpleDataHandlerController.php.
$redirect |
Definition at line 79 of file SimpleDataHandlerController.php.
$tce |
Definition at line 114 of file SimpleDataHandlerController.php.
$uPT |
Definition at line 107 of file SimpleDataHandlerController.php.
$vC |
Definition at line 100 of file SimpleDataHandlerController.php.