TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RecyclerAjaxController Class Reference

Public Member Functions

 __construct ()
 
 dispatch (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Member Functions

 setDataInSession ($identifier, $data)
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

 $conf = array()
 

Detailed Description

Controller class for the 'recycler' extension. Handles the AJAX Requests

Definition at line 29 of file RecyclerAjaxController.php.

Constructor & Destructor Documentation

__construct ( )

The constructor of this class

Definition at line 41 of file RecyclerAjaxController.php.

References GeneralUtility\_GP().

Member Function Documentation

dispatch ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

The main dispatcher function. Collect data and prepare HTML output.

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 62 of file RecyclerAjaxController.php.

References $response, ExtensionManagementUtility\extPath(), RecyclerAjaxController\getBackendUser(), MessageInterface\getBody(), GeneralUtility\makeInstance(), RecyclerAjaxController\setDataInSession(), and LocalizationUtility\translate().

getBackendUser ( )
protected

Returns the BackendUser

Returns

Definition at line 170 of file RecyclerAjaxController.php.

References $GLOBALS.

Referenced by RecyclerAjaxController\dispatch(), and RecyclerAjaxController\setDataInSession().

getLanguageService ( )
protected
Returns

Definition at line 178 of file RecyclerAjaxController.php.

References $GLOBALS.

setDataInSession (   $identifier,
  $data 
)
protected

Sets data in the session of the current backend user.

Parameters
string$identifierThe identifier to be used to set the data
string$dataThe data to be stored in the session
Returns
void

Definition at line 158 of file RecyclerAjaxController.php.

References RecyclerAjaxController\getBackendUser().

Referenced by RecyclerAjaxController\dispatch().

Member Data Documentation

$conf = array()
protected

Definition at line 36 of file RecyclerAjaxController.php.