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

Public Member Functions

 __construct ()
 
 transform ($deletedRowsArray, $totalDeleted)
 

Protected Member Functions

 getPageTitle ($pageId)
 
 getLanguageService ()
 
 getBackendUser ()
 
 getCacheManager ()
 
 getMemoryCache ()
 

Protected Attributes

 $runtimeCache = null
 
 $tce
 

Detailed Description

Deleted Records View

Definition at line 27 of file DeletedRecordsController.php.

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 128 of file DeletedRecordsController.php.

References $GLOBALS.

Referenced by DeletedRecordsController\transform().

getCacheManager ( )
protected

Create and returns an instance of the CacheManager

Returns

Definition at line 138 of file DeletedRecordsController.php.

References GeneralUtility\makeInstance().

Referenced by DeletedRecordsController\getMemoryCache().

getLanguageService ( )
protected

Returns an instance of LanguageService

Returns

Definition at line 118 of file DeletedRecordsController.php.

References $GLOBALS.

Referenced by DeletedRecordsController\transform().

getMemoryCache ( )
protected

Gets an instance of the memory cache.

Returns

Definition at line 148 of file DeletedRecordsController.php.

References DeletedRecordsController\getCacheManager().

Referenced by DeletedRecordsController\__construct().

getPageTitle (   $pageId)
protected

Gets the page title of the given page id

Parameters
int$pageId
Returns
string

Definition at line 96 of file DeletedRecordsController.php.

References $GLOBALS.

Referenced by DeletedRecordsController\transform().

transform (   $deletedRowsArray,
  $totalDeleted 
)

Transforms the rows for the deleted records

Parameters
array$deletedRowsArrayArray with table as key and array with all deleted rows
int$totalDeletedNumber of deleted records in total
Returns
string JSON array

Definition at line 52 of file DeletedRecordsController.php.

References $GLOBALS, $lang, BackendUtility\datetime(), DeletedRecordsController\getBackendUser(), DeletedRecordsController\getLanguageService(), DeletedRecordsController\getPageTitle(), BackendUtility\getRecord(), RecyclerUtility\getRecordPath(), BackendUtility\getRecordTitle(), RecyclerUtility\getUtf8String(), GeneralUtility\makeInstance(), and Icon\SIZE_SMALL.

Member Data Documentation

$runtimeCache = null
protected

Definition at line 32 of file DeletedRecordsController.php.

$tce
protected

Definition at line 37 of file DeletedRecordsController.php.