TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
SimpleDataHandlerController Class Reference

Public Member Functions

 __construct ()
 
 init ()
 
 initClipboard ()
 
 main ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $flags
 
 $data
 
 $cmd
 
 $mirror
 
 $cacheCmd
 
 $redirect
 
 $prErr
 
 $CB
 
 $vC
 
 $uPT
 
 $tce
 

Protected Member Functions

 getBackendUser ()
 

Detailed Description

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 (DataHandler) 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 35 of file SimpleDataHandlerController.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 118 of file SimpleDataHandlerController.php.

References $GLOBALS, and SimpleDataHandlerController\init().

Member Function Documentation

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 302 of file SimpleDataHandlerController.php.

References $GLOBALS.

Referenced by SimpleDataHandlerController\init(), and SimpleDataHandlerController\main().

initClipboard ( )

Clipboard pasting and deleting.

Returns
void

Definition at line 172 of file SimpleDataHandlerController.php.

References GeneralUtility\makeInstance().

Referenced by SimpleDataHandlerController\mainAction().

main ( )
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.

Parameters
ServerRequestInterface$requestthe current request
ResponseInterface$response
Returns
ResponseInterface the response with the content

Definition at line 234 of file SimpleDataHandlerController.php.

References SimpleDataHandlerController\initClipboard(), GeneralUtility\locationHeaderUrl(), and SimpleDataHandlerController\main().

Member Data Documentation

$cacheCmd

Definition at line 71 of file SimpleDataHandlerController.php.

$CB

Definition at line 92 of file SimpleDataHandlerController.php.

$cmd

Definition at line 57 of file SimpleDataHandlerController.php.

$data

Definition at line 49 of file SimpleDataHandlerController.php.

$flags

Definition at line 42 of file SimpleDataHandlerController.php.

$mirror

Definition at line 64 of file SimpleDataHandlerController.php.

$prErr

Definition at line 85 of file SimpleDataHandlerController.php.

$redirect

Definition at line 78 of file SimpleDataHandlerController.php.

$tce

Definition at line 113 of file SimpleDataHandlerController.php.

$uPT

Definition at line 106 of file SimpleDataHandlerController.php.

$vC

Definition at line 99 of file SimpleDataHandlerController.php.