‪TYPO3CMS  10.4
TYPO3\CMS\Recycler\Controller\DeletedRecordsController Class Reference

Public Member Functions

 __construct ()
 
array transform ($deletedRowsArray)
 

Protected Member Functions

string getPageTitle ($pageId)
 
string getBackendUser (int $userId)
 
int getUserWhoDeleted (string $table, int $uid)
 
TYPO3 CMS Core Localization LanguageService getLanguageService ()
 
CacheManager getCacheManager ()
 
TYPO3 CMS Core Cache Frontend FrontendInterface getMemoryCache ()
 

Protected Attributes

TYPO3 CMS Core Cache Frontend FrontendInterface $runtimeCache
 
DataHandler $tce
 

Detailed Description

Deleted Records View

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

Definition at line 33 of file DeletedRecordsController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getBackendUser()

string TYPO3\CMS\Recycler\Controller\DeletedRecordsController::getBackendUser ( int  $userId)
protected

Gets the username of a given backend user

Parameters
int$userId‪uid of user
Returns
‪string

Definition at line 122 of file DeletedRecordsController.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getRecord(), and TYPO3\CMS\Extbase\Utility\LocalizationUtility\translate().

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

◆ getCacheManager()

CacheManager TYPO3\CMS\Recycler\Controller\DeletedRecordsController::getCacheManager ( )
protected

Create and returns an instance of the CacheManager

Returns
‪CacheManager

Definition at line 195 of file DeletedRecordsController.php.

Referenced by TYPO3\CMS\Recycler\Controller\DeletedRecordsController\getMemoryCache().

◆ getLanguageService()

TYPO3 CMS Core Localization LanguageService TYPO3\CMS\Recycler\Controller\DeletedRecordsController::getLanguageService ( )
protected

Returns an instance of LanguageService

Returns
‪\TYPO3\CMS\Core\Localization\LanguageService

Definition at line 185 of file DeletedRecordsController.php.

References $GLOBALS.

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

◆ getMemoryCache()

TYPO3 CMS Core Cache Frontend FrontendInterface TYPO3\CMS\Recycler\Controller\DeletedRecordsController::getMemoryCache ( )
protected

Gets an instance of the memory cache.

Returns
‪\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface

Definition at line 205 of file DeletedRecordsController.php.

References TYPO3\CMS\Core\Cache\CacheManager\getCache(), and TYPO3\CMS\Recycler\Controller\DeletedRecordsController\getCacheManager().

Referenced by TYPO3\CMS\Recycler\Controller\DeletedRecordsController\__construct().

◆ getPageTitle()

string TYPO3\CMS\Recycler\Controller\DeletedRecordsController::getPageTitle (   $pageId)
protected

Gets the page title of the given page id

Parameters
int$pageId
Returns
‪string

Definition at line 100 of file DeletedRecordsController.php.

References $GLOBALS.

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

◆ getUserWhoDeleted()

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

Get the user uid of the user who deleted the record

Parameters
string$table‪table name
int$uid‪uid of record
Returns
‪int

Definition at line 151 of file DeletedRecordsController.php.

References TYPO3\CMS\Core\DataHandling\History\RecordHistoryStore\ACTION_DELETE.

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

◆ transform()

Member Data Documentation

◆ $runtimeCache

TYPO3 CMS Core Cache Frontend FrontendInterface TYPO3\CMS\Recycler\Controller\DeletedRecordsController::$runtimeCache
protected

Definition at line 37 of file DeletedRecordsController.php.

◆ $tce

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

Definition at line 41 of file DeletedRecordsController.php.