RecyclerAjaxController
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.
Table of Contents
Properties
- $conf : array<string|int, mixed>
- The local configuration array
- $runtimeCache : FrontendInterface
- $tce : DataHandler
Methods
- __construct() : mixed
- dispatch() : ResponseInterface
- The main dispatcher function. Collect data and prepare HTML output.
- getBackendUser() : BackendUserAuthentication
- getBackendUserInformation() : string
- Gets the username of a given backend user
- getCacheManager() : CacheManager
- getLanguageService() : LanguageService
- getMemoryCache() : FrontendInterface
- getPageTitle() : string
- Gets the page title of the given page id
- getUserWhoDeleted() : int
- Get the user uid of the user who deleted the record
- setDataInSession() : void
- Sets data in the session of the current backend user.
- transform() : array<string|int, mixed>
- Transforms the rows for the deleted records by grouping them by their corresponding table and processing the raw record data.
Properties
$conf
The local configuration array
protected
array<string|int, mixed>
$conf
= []
$runtimeCache
protected
FrontendInterface
$runtimeCache
$tce
protected
DataHandler
$tce
Methods
__construct()
public
__construct() : mixed
dispatch()
The main dispatcher function. Collect data and prepare HTML output.
public
dispatch(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetBackendUserInformation()
Gets the username of a given backend user
protected
getBackendUserInformation(int $userId) : string
Parameters
- $userId : int
Return values
stringgetCacheManager()
protected
getCacheManager() : CacheManager
Return values
CacheManagergetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetMemoryCache()
protected
getMemoryCache() : FrontendInterface
Return values
FrontendInterfacegetPageTitle()
Gets the page title of the given page id
protected
getPageTitle(int $pageId) : string
Parameters
- $pageId : int
Return values
stringgetUserWhoDeleted()
Get the user uid of the user who deleted the record
protected
getUserWhoDeleted(string $table, int $uid) : int
Parameters
- $table : string
- $uid : int
Return values
intsetDataInSession()
Sets data in the session of the current backend user.
protected
setDataInSession(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
The data to be stored in the session
transform()
Transforms the rows for the deleted records by grouping them by their corresponding table and processing the raw record data.
protected
transform(array<string, array<string|int, mixed>> $deletedRowsArray) : array<string|int, mixed>
Parameters
- $deletedRowsArray : array<string, array<string|int, mixed>>