‪TYPO3CMS  11.5
TYPO3\CMS\Recycler\Controller\RecyclerAjaxController Class Reference

Public Member Functions

 __construct ()
 
ResponseInterface dispatch (ServerRequestInterface $request)
 

Protected Member Functions

 transform (array $deletedRowsArray)
 
 getPageTitle (int $pageId)
 
 getBackendUserInformation (int $userId)
 
 getUserWhoDeleted (string $table, int $uid)
 
 setDataInSession (array $data)
 
 getMemoryCache ()
 
 getCacheManager ()
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

array $conf = array( )
 
FrontendInterface $runtimeCache
 
DataHandler $tce
 

Detailed Description

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

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 45 of file RecyclerAjaxController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::__construct ( )

Member Function Documentation

◆ dispatch()

ResponseInterface TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::dispatch ( ServerRequestInterface  $request)

◆ getBackendUser()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getBackendUser ( )
protected

◆ getBackendUserInformation()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getBackendUserInformation ( int  $userId)
protected

Gets the username of a given backend user

Definition at line 236 of file RecyclerAjaxController.php.

References TYPO3\CMS\Extbase\Utility\LocalizationUtility\translate().

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\transform().

◆ getCacheManager()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getCacheManager ( )
protected

◆ getLanguageService()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getLanguageService ( )
protected

◆ getMemoryCache()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getMemoryCache ( )
protected

◆ getPageTitle()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getPageTitle ( int  $pageId)
protected

Gets the page title of the given page id

Definition at line 217 of file RecyclerAjaxController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\transform().

◆ getUserWhoDeleted()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::getUserWhoDeleted ( string  $table,
int  $uid 
)
protected

◆ setDataInSession()

TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::setDataInSession ( array  $data)
protected

Sets data in the session of the current backend user.

Parameters
array$data‪The data to be stored in the session

Definition at line 294 of file RecyclerAjaxController.php.

References TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\getBackendUser().

Referenced by TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\dispatch().

◆ transform()

Member Data Documentation

◆ $conf

array TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::$conf = array( )
protected

The local configuration array

Definition at line 51 of file RecyclerAjaxController.php.

◆ $runtimeCache

FrontendInterface TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::$runtimeCache
protected

Definition at line 55 of file RecyclerAjaxController.php.

◆ $tce

DataHandler TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::$tce
protected

Definition at line 59 of file RecyclerAjaxController.php.