33 public function getTables($format, $withAllOption = 0, $startUid, $depth = 0) {
34 $deletedRecordsTotal = 0;
36 foreach (
$GLOBALS[
'TCA'] as $tableName => $_) {
40 $deletedCount =
$GLOBALS[
'TYPO3_DB']->exec_SELECTcountRows(
'uid', $tableName, $deletedField .
'<>0');
43 $deletedData = $deletedDataObject->loadData($startUid, $tableName, $depth)->getDeletedRows();
44 if (isset($deletedData[$tableName])) {
45 if ($deletedRecordsInTable = count($deletedData[$tableName])) {
46 $deletedRecordsTotal += $deletedRecordsInTable;
49 $deletedRecordsInTable,
51 \
TYPO3\CMS\Recycler\Utility\RecyclerUtility::getUtf8String(
$GLOBALS[
'LANG']->sL(
$GLOBALS[
'TCA'][$tableName][
'ctrl'][
'title']))
60 array_unshift($jsonArray, array(
64 $GLOBALS[
'LANG']->sL(
'LLL:EXT:recycler/mod1/locallang.xlf:label_alltables')
67 $output = json_encode($jsonArray);
static makeInstance($className)
static getDeletedField($tableName)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
getTables($format, $withAllOption=0, $startUid, $depth=0)