‪TYPO3CMS  11.5
TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList:
TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList

Public Member Functions

 __construct (IconFactory $iconFactory, UriBuilder $uriBuilder, TranslationConfigurationProvider $translateTools, EventDispatcherInterface $eventDispatcher)
 
array getColumnsToRender (string $table, bool $includeMetaColumns)
 
string[] getFieldsToSelect (string $table, array $columnsToRender)
 
string getTable ($table, $id)
 
string renderListRow ($table, array $row, int $indent, array $translations, bool $translationEnabled)
 
string renderListHeader ($table, $currentIdList)
 
string makeControl ($table, $row)
 
 makeClip (string $table, array $row, array &$cells)
 
string makeCheckbox (string $table, array $row)
 
string makeLocalizationPanel ($table, $row, array $translations)
 
string addSortLink ($code, $field, $table)
 
mixed[] recPath ($pid)
 
bool showNewRecLink ($table)
 
 addActionToCellGroup (&$cells, $action, $actionKey)
 
 setIsEditable (bool $isEditable)
 
bool isEditable (string $table)
 
 setModuleData (array $moduleData=[])
 
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
string generateList ()
 
 setDispFields ()
 
TYPO3 CMS Core Database Query QueryBuilder getQueryBuilder (string $table, int $pageId, array $additionalConstraints, array $fields, bool $addSorting, int $firstResult, int $maxResult)
 
string makeSearchString ($table, int $currentPid, QueryBuilder $queryBuilder)
 
string linkWrapTable (string $table, string $label)
 
string linkWrapItems ($table, $uid, $code, $row)
 
string linkUrlMail ($code, $testString)
 
string listURL ($altId='', $table='-1', $exclList='')
 
 setOverrideUrlParameters (array $urlParameters)
 
 setTableDisplayOrder (array $orderInformation)
 
array getOverridePageIdList ()
 
 setOverridePageIdList (array $overridePageIdList)
 
 showOnlyTranslatedRecords (bool $showOnlyTranslatedRecords)
 
DatabaseRecordList setLanguagesAllowedForUser (array $languagesAllowedForUser)
 

Public Attributes

string[] $allowedNewTables = array( )
 
string[] $deniedNewTables = array( )
 
bool $showClipboardActions = false
 
bool $noControlPanels = false
 
bool $clickMenuEnabled = true
 
bool $disableSingleTableView = false
 
string[] $pageRow = array( )
 
string $hideTranslations = ''
 
string $sortField
 
int $id
 
bool $listOnlyInSingleTableMode = false
 
array[] $modTSconfig
 
int[][] $currentTable = array( )
 
int $showLimit = 0
 
array $fieldArray = array( )
 
string $hideTables = ''
 
string $perms_clause = ''
 
string $returnUrl = ''
 
string $table = ''
 
Permission $calcPerms
 
string $clickTitleMode = ''
 
mixed[][] $tableTSconfigOverTCA = array( )
 
string[][] $setFields = array( )
 
string $searchString = ''
 
bool $sortRev
 
string $tableList = ''
 
Clipboard $clipObj
 
string[] $CBnames = array( )
 
bool $displayColumnSelector = true
 
bool $displayRecordDownload = true
 

Protected Member Functions

string createNewRecordButton (string $table)
 
 createDownloadButtonForTable (string $table, int $totalItems)
 
PreviewUriBuilder getPreviewUriBuilder (string $table, array $row)
 
bool isRowListingConditionFulfilled ($table, $row)
 
int getReferenceCount ($tableName, $uid)
 
string renderListNavigation (string $table, int $totalItems, int $itemsPerPage)
 
string columnSelector (string $table)
 
 getPagePermissionsForRecord (string $table, array $row)
 
 getBackendUserInformation (int $backendUserId)
 
bool isRecordCurrentBackendUser ($table, $row)
 
 isRecordDeletePlaceholder (array $row)
 
bool overlayEditLockPermissions ($table, $row=[], $editPermission=true)
 
array getTablesToRender ()
 
int[] getSearchableWebmounts ($id, $depth, $perms_clause)
 
QueryBuilder addPageIdConstraint (string $tableName, QueryBuilder $queryBuilder, int $searchLevels)
 
BackendUserAuthentication getBackendUserAuthentication ()
 
string addElement ($data, $rowParams='', $colType='td')
 
int[] getPossibleTranslations (int $pageUid)
 
string languageFlag (string $table, array $row)
 
 generateReferenceToolTip (string $table, int $uid)
 
string renderCheckboxActions ()
 
string renderMultiRecordSelectionActions (string $table, array $currentIdList)
 
string createShowItemTagAttributes (string $arguments)
 
LanguageService getLanguageService ()
 
StandaloneView getFluidTemplateObject (string $filename)
 
bool isLocalized (string $table, array $row)
 
array getNoViewWithDokTypes (array $tsConfig)
 
bool isClipboardFunctionalityEnabled (string $table, array $row=[])
 
 addDividerToCellGroup (array &$cells)
 

Protected Attributes

string $spaceIcon
 
array $recPath_cache = []
 
array $moduleData = []
 
array $duplicateStack = []
 
TranslationConfigurationProvider $translateTools
 
array $addElement_tdCssClass = []
 
int $searchLevels = 0
 
int $page = 0
 
string $duplicateField
 
array $referenceCount = []
 
bool $editable = true
 
IconFactory $iconFactory
 
UriBuilder $uriBuilder
 
array $tableDisplayOrder = []
 
array $overridePageIdList = []
 
array $overrideUrlParameters = []
 
array $currentLink = []
 
bool $showOnlyTranslatedRecords = false
 
array $possibleTranslations = []
 
array $languagesAllowedForUser = []
 
array $pagePermsCache = []
 
array $backendUserCache = []
 
array $showLocalizeColumn = []
 
EventDispatcherInterface $eventDispatcher
 

Detailed Description

Class for rendering of Web>List module

This class is a specific TYPO3 Backend implementation and is not part of the TYPO3's Core API.

Definition at line 58 of file DatabaseRecordList.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ addActionToCellGroup()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::addActionToCellGroup ( $cells,
  $action,
  $actionKey 
)

◆ addDividerToCellGroup()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::addDividerToCellGroup ( array &  $cells)
protected

Add a divider to the secondary cell gorup, if not already present

Parameters
array$cells

Definition at line 3506 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addActionToCellGroup().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip().

◆ addElement()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::addElement (   $data,
  $rowParams = '',
  $colType = 'td' 
)
protected

Returns a table-row with the content from the fields in the input data array. OBS: $this->fieldArray MUST be set! (represents the list of fields to display)

Parameters
array$data‪Is the data array, record with the fields. Notice: These fields are (currently) NOT htmlspecialchar'ed before being wrapped in

-tags

Parameters
string$rowParams‪Is insert in the

-tags. Must carry a ' ' as first character

Parameters
string$colType‪Defines the tag being used for the columns. Default is td.
Returns
‪string HTML content for the table row

Definition at line 3071 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$fieldArray, and $fields.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ addPageIdConstraint()

QueryBuilder TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::addPageIdConstraint ( string  $tableName,
QueryBuilder  $queryBuilder,
int  $searchLevels 
)
protected

Add conditions to the QueryBuilder object ($queryBuilder) to limit a query to a list of page IDs based on the current search level setting.

Parameters
string$tableName
QueryBuilder$queryBuilder
int$searchLevels
Returns
‪QueryBuilder Modified QueryBuilder object

Definition at line 3006 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$searchLevels, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getOverridePageIdList(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getSearchableWebmounts(), TYPO3\CMS\Core\Database\Connection\PARAM_INT, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showOnlyTranslatedRecords().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getQueryBuilder().

◆ addSortLink()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::addSortLink (   $code,
  $field,
  $table 
)

Creates a sort-by link on the input string ($code). It will automatically detect if sorting should be ascending or descending depending on $this->sortRev. Also some fields will not be possible to sort (including if single-table-view is disabled).

Parameters
string$code‪The string to link (text)
string$field‪The fieldname represented by the title ($code)
string$table‪Table name
Returns
‪string Linked $code variable

Definition at line 2107 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader().

◆ columnSelector()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::columnSelector ( string  $table)
protected

◆ createDownloadButtonForTable()

◆ createNewRecordButton()

◆ createShowItemTagAttributes()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::createShowItemTagAttributes ( string  $arguments)
protected

Creates data attributes to be handles in moddule TYPO3/CMS/Backend/ActionDispatcher

Parameters
string$arguments
Returns
‪string

Definition at line 3398 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateReferenceToolTip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ generateList()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::generateList ( )

Traverses the table(s) to be listed and renders the output code for each.

Returns
‪string Rendered HTML

Definition at line 2365 of file DatabaseRecordList.php.

References $output, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTablesToRender().

◆ generateReferenceToolTip()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::generateReferenceToolTip ( string  $table,
int  $uid 
)
protected

◆ getBackendUserAuthentication()

◆ getBackendUserInformation()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getBackendUserInformation ( int  $backendUserId)
protected

Helper method around fetching a "cruser_id" information for a record, with a cache, so the same information does not have to be processed for the same user over and over again.

Definition at line 2164 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ getColumnsToRender()

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getColumnsToRender ( string  $table,
bool  $includeMetaColumns 
)

Returns a list of all fields / columns including meta columns such as "_REF_" or "_PATH_" which should be rendered for the databsae table.

Parameters
string$table
bool$includeMetaColumns
Returns
‪array

Definition at line 424 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showOnlyTranslatedRecords().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ getFieldsToSelect()

string [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getFieldsToSelect ( string  $table,
array  $columnsToRender 
)

Based on the columns which should be rendered this method returns a list of actual database fields to be selected from the query string.

Parameters
string$table
array$columnsToRender
Returns
‪string[] a list of all database table fields

Definition at line 480 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ getFluidTemplateObject()

StandaloneView TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getFluidTemplateObject ( string  $filename)
protected

Returns a new standalone view, shorthand function

Parameters
string$filename‪Which templateFile should be used.
Returns
‪StandaloneView

Definition at line 3431 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListNavigation().

◆ getLanguageService()

◆ getNoViewWithDokTypes()

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getNoViewWithDokTypes ( array  $tsConfig)
protected

Returns the configuration of mod.web_list.noViewWithDokTypes or the default value 254 (Sys Folders) and 255 (Recycler), if not set.

Parameters
array$tsConfig
Returns
‪array

Definition at line 3464 of file DatabaseRecordList.php.

References TYPO3\CMS\Core\Domain\Repository\PageRepository\DOKTYPE_RECYCLER, TYPO3\CMS\Core\Domain\Repository\PageRepository\DOKTYPE_SPACER, TYPO3\CMS\Core\Domain\Repository\PageRepository\DOKTYPE_SYSFOLDER, and TYPO3\CMS\Core\Utility\GeneralUtility\intExplode().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ getOverridePageIdList()

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getOverridePageIdList ( )

◆ getPagePermissionsForRecord()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getPagePermissionsForRecord ( string  $table,
array  $row 
)
protected

◆ getPossibleTranslations()

int [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getPossibleTranslations ( int  $pageUid)
protected

Fetches all possible translations for the given page

This depends on the site config and the current translations of the page record It is used to set the possible translations for all records excluding pages

Parameters
int$pageUid
Returns
‪int[]

Definition at line 3134 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), and TYPO3\CMS\Core\Database\Connection\PARAM_INT.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\start().

◆ getPreviewUriBuilder()

PreviewUriBuilder TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getPreviewUriBuilder ( string  $table,
array  $row 
)
protected

Get preview link for pages or tt_content records

Parameters
string$table
array$row
Returns
‪PreviewUriBuilder

Definition at line 948 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Backend\Routing\PreviewUriBuilder\create().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ getQueryBuilder()

TYPO3 CMS Core Database Query QueryBuilder TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getQueryBuilder ( string  $table,
int  $pageId,
array  $additionalConstraints,
array  $fields,
bool  $addSorting,
int  $firstResult,
int  $maxResult 
)

Returns a QueryBuilder configured to select $fields from $table where the pid is restricted depending on the current searchlevel setting.

Parameters
string$table‪Table name
int$pageId‪Page id Only used to build the search constraints, getPageIdConstraint() used for restrictions
string[]$additionalConstraints‪Additional part for where clause
string[]$fields‪Field list to select, * for all
bool$addSorting
int$firstResult
int$maxResult
Returns
‪\TYPO3\CMS\Core\Database\Query\QueryBuilder

Definition at line 2447 of file DatabaseRecordList.php.

References $fields, $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addPageIdConstraint(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeSearchString(), TYPO3\CMS\Core\Database\Connection\PARAM_INT, TYPO3\CMS\Core\Database\Query\QueryHelper\parseOrderBy(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showOnlyTranslatedRecords(), TYPO3\CMS\Core\Database\Query\QueryHelper\stripLogicalOperatorPrefix(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ getReferenceCount()

int TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getReferenceCount (   $tableName,
  $uid 
)
protected

Gets the number of records referencing the record with the UID $uid in the table $tableName.

Parameters
string$tableName
int$uid
Returns
‪int The number of references to record $uid in table

Definition at line 1143 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateReferenceToolTip(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ getSearchableWebmounts()

int [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getSearchableWebmounts (   $id,
  $depth,
  $perms_clause 
)
protected

Get all allowed mount pages to be searched in.

Parameters
int$id‪Page id
int$depth‪Depth to go down
string$perms_clause‪select clause
Returns
‪int[]

Definition at line 2966 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$perms_clause, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addPageIdConstraint().

◆ getTable()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getTable (   $table,
  $id 
)

Creates the listing of records from a single table

Parameters
string$table‪Table name
int$id‪Page id
Exceptions

Definition at line 532 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$showLimit, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\columnSelector(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createDownloadButtonForTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createNewRecordButton(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getColumnsToRender(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getFieldsToSelect(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getLanguageService(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getQueryBuilder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRowListingConditionFulfilled(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListNavigation(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderMultiRecordSelectionActions(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showOnlyTranslatedRecords(), TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL, and TYPO3\CMS\Core\Localization\LanguageService\sL().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateList().

◆ getTablesToRender()

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::getTablesToRender ( )
protected

Depending on various options returns a list of all TCA tables which should be shown and are allowed by the current user.

Returns
‪array a list of all TCA tables

Definition at line 2381 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateList().

◆ isClipboardFunctionalityEnabled()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::isClipboardFunctionalityEnabled ( string  $table,
array  $row = [] 
)
protected

◆ isEditable()

◆ isLocalized()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::isLocalized ( string  $table,
array  $row 
)
protected

Check if a given record is a localization

Parameters
string$table
array$row
Returns
‪bool

Definition at line 3449 of file DatabaseRecordList.php.

References $GLOBALS, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\languageFlag().

◆ isRecordCurrentBackendUser()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::isRecordCurrentBackendUser (   $table,
  $row 
)
protected

Check if the record represents the current backend user

Parameters
string$table
array$row
Returns
‪bool

Definition at line 2225 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ isRecordDeletePlaceholder()

◆ isRowListingConditionFulfilled()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::isRowListingConditionFulfilled (   $table,
  $row 
)
protected

Check if all row listing conditions are fulfilled.

This function serves as a dummy method to be overridden in extending classes.

Parameters
string$table‪Table name
string[]$row‪Record
Returns
‪bool True, if all conditions are fulfilled.

Reimplemented in TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList.

Definition at line 983 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ languageFlag()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::languageFlag ( string  $table,
array  $row 
)
protected

◆ linkUrlMail()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::linkUrlMail (   $code,
  $testString 
)

Wrapping input code in link to URL or email if $testString is either.

Parameters
string$code‪code to wrap
string$testString‪String which is tested for being a URL or email and which will be used for the link if so.
Returns
‪string Link-Wrapped $code value, if $testString was URL or email.
Todo:
‪Change signature to (string $code, string $testString): string as breaking change in v12. Also protect method.

Definition at line 2822 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ linkWrapItems()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::linkWrapItems (   $table,
  $uid,
  $code,
  $row 
)

◆ linkWrapTable()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::linkWrapTable ( string  $table,
string  $label 
)

Returns the title (based on $label) of a table ($table) with the proper link around. For headers over tables. The link will cause the display of all extended mode or not for the table.

Parameters
string$table‪Table name
string$label‪Table label
Returns
‪string The linked table label

Definition at line 2721 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ listURL()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::listURL (   $altId = '',
  $table = '-1',
  $exclList = '' 
)

Creates the URL to this script, including all relevant GPvars Fixed GPvars are id, table, returnUrl, search_field, and search_levels The GPvars "sortField" and "sortRev" are also included UNLESS they are found in the $exclList variable.

Parameters
string$altId‪Alternative id value. Enter blank string for the current id ($this->id)
string$table‪Table name to display. Enter "-1" for the current table.
string$exclList‪Comma separated list of fields NOT to include ("sortField", "sortRev" or "pointer")
Returns
‪string URL

Definition at line 2851 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$page, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$returnUrl, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$searchLevels, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$searchString, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$sortField, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$sortRev, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addSortLink(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\columnSelector(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createNewRecordButton(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListNavigation(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderMultiRecordSelectionActions(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\renderSearchBox(), and TYPO3\CMS\Recordlist\Controller\RecordListController\renderSearchBox().

◆ makeCheckbox()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::makeCheckbox ( string  $table,
array  $row 
)

Adds the checkbox to select a single record in the listing

Parameters
string$table‪The table
array$row‪The record for which to make the checkbox
Returns
‪string The checkbox for the record

Definition at line 1946 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRecordDeletePlaceholder().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ makeClip()

◆ makeControl()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::makeControl (   $table,
  $row 
)

Creates the control panel for a single record in the listing.

Parameters
string$table‪The table
mixed[]$row‪The record for which to make the control panel.
Exceptions

Definition at line 1375 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, $output, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$spaceIcon, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addActionToCellGroup(), TYPO3\CMS\Core\Type\Bitmask\Permission\CONTENT_EDIT, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createShowItemTagAttributes(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getLanguageService(), TYPO3\CMS\Core\Localization\LanguageService\getLL(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getNoViewWithDokTypes(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getPagePermissionsForRecord(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getPreviewUriBuilder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getReferenceCount(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isEditable(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRecordCurrentBackendUser(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRecordDeletePlaceholder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\overlayEditLockPermissions(), TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_NEW, TYPO3\CMS\Backend\Routing\PreviewUriBuilder\serializeDispatcherAttributes(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showNewRecLink(), TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL, and TYPO3\CMS\Core\Localization\LanguageService\sL().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ makeLocalizationPanel()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::makeLocalizationPanel (   $table,
  $row,
array  $translations 
)

◆ makeSearchString()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::makeSearchString (   $table,
int  $currentPid,
QueryBuilder  $queryBuilder 
)

Creates part of query for searching after a word ($this->searchString) fields in input table.

Parameters
string$table‪Table, in which the fields are being searched.
int$currentPid‪Page id for the possible search limit
QueryBuilder$queryBuilder
Returns
‪string Returns part of WHERE-clause for searching, if applicable.

Definition at line 2599 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$searchString, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Database\Query\QueryHelper\quoteDatabaseIdentifiers(), TYPO3\CMS\Core\Database\Query\QueryHelper\stripLogicalOperatorPrefix(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getQueryBuilder().

◆ overlayEditLockPermissions()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::overlayEditLockPermissions (   $table,
  $row = [],
  $editPermission = true 
)
protected

Check if the current record is locked by editlock. Pages are locked if their editlock flag is set, records are if they are locked themselves or if the page they are on is locked (a page’s editlock is transitive for its content elements).

Parameters
string$table
array$row
bool$editPermission
Returns
‪bool

Definition at line 2271 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication().

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderMultiRecordSelectionActions().

◆ recPath()

mixed [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::recPath (   $pid)

Returns the path for a certain pid The result is cached internally for the session, thus you can call this function as much as you like without performance problems.

Parameters
int$pid‪The page id for which to get the path
Returns
‪mixed[] The path.

Definition at line 2137 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow().

◆ renderCheckboxActions()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::renderCheckboxActions ( )
protected

Render convenience actions, such as "check all"

Returns
‪string HTML markup for the checkbox actions

Definition at line 3224 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getLanguageService(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader().

◆ renderListHeader()

◆ renderListNavigation()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::renderListNavigation ( string  $table,
int  $totalItems,
int  $itemsPerPage 
)
protected

◆ renderListRow()

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::renderListRow (   $table,
array  $row,
int  $indent,
array  $translations,
bool  $translationEnabled 
)

Rendering a single row for the list

Parameters
string$table‪Table name
mixed[]$row‪Current record
int$indent‪Indent from left.
array$translations‪Array of already existing translations for the current record
bool$translationEnabled‪Whether the record can be translated
Returns
‪string Table row for the element
See also
getTable()

Definition at line 1000 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addElement(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateReferenceToolTip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserInformation(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getLanguageService(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRecordDeletePlaceholder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\languageFlag(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkUrlMail(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeCheckbox(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeLocalizationPanel(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\recPath(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showOnlyTranslatedRecords(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable().

◆ renderMultiRecordSelectionActions()

◆ setDispFields()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setDispFields ( )

Fetching the user defined fields to be displayed. Sets the internal variable $this->setFields.

Definition at line 2429 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getModuleData().

◆ setIsEditable()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setIsEditable ( bool  $isEditable)
Parameters
bool$isEditable

Definition at line 2243 of file DatabaseRecordList.php.

◆ setLanguagesAllowedForUser()

DatabaseRecordList TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setLanguagesAllowedForUser ( array  $languagesAllowedForUser)
Parameters
array$languagesAllowedForUser
Returns
DatabaseRecordList

Definition at line 3419 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$languagesAllowedForUser.

◆ setModuleData()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setModuleData ( array  $moduleData = [])

Set the module data

See BackendUtility::getModuleData

Parameters
array$moduleData

Definition at line 2295 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$moduleData.

◆ setOverridePageIdList()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setOverridePageIdList ( array  $overridePageIdList)
Parameters
int[] | array$overridePageIdList

Definition at line 2953 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$overridePageIdList.

◆ setOverrideUrlParameters()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setOverrideUrlParameters ( array  $urlParameters)

Set URL parameters to override or add in the listUrl() method.

Parameters
string[]$urlParameters

Definition at line 2894 of file DatabaseRecordList.php.

◆ setTableDisplayOrder()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::setTableDisplayOrder ( array  $orderInformation)

Set table display order information

Structure of $orderInformation: 'tableName' => [ 'before' => // comma-separated string list or array of table names 'after' => // comma-separated string list or array of table names ]

Parameters
array$orderInformation
Exceptions

Definition at line 2915 of file DatabaseRecordList.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ showNewRecLink()

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::showNewRecLink (   $table)

Returns TRUE if a link for creating new records should be displayed for $table

Parameters
string$table‪Table name
Returns
‪bool Returns TRUE if a link for creating new records should be displayed for $table

Definition at line 2186 of file DatabaseRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createNewRecordButton(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl().

◆ showOnlyTranslatedRecords()

◆ start()

TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::start (   $id,
  $table,
  $pointer,
  $search = '',
  $levels = 0,
  $showLimit = 0 
)

Initializes the list generation

Parameters
int$id‪Page id for which the list is rendered. Must be >= 0
string$table‪Tablename - if extended mode where only one table is listed at a time.
int$pointer‪Browsing pointer.
string$search‪Search word, if any
int$levels‪Number of levels to search down the page tree
int$showLimit‪Limit of records to be listed.

Definition at line 2310 of file DatabaseRecordList.php.

References $GLOBALS, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$id, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$showLimit, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$tableList, TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getBackendUserAuthentication(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getPossibleTranslations(), TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), and TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_SHOW.

Member Data Documentation

◆ $addElement_tdCssClass

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$addElement_tdCssClass = []
protected

Definition at line 176 of file DatabaseRecordList.php.

◆ $allowedNewTables

string [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$allowedNewTables = array( )

Used to indicate which tables (values in the array) that can have a create-new-record link. If the array is empty, all tables are allowed.

Definition at line 69 of file DatabaseRecordList.php.

◆ $backendUserCache

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$backendUserCache = []
protected

Definition at line 396 of file DatabaseRecordList.php.

◆ $calcPerms

Permission TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$calcPerms

Some permissions...

Definition at line 225 of file DatabaseRecordList.php.

◆ $CBnames

string [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$CBnames = array( )

Tracking names of elements (for clipboard use)

Definition at line 292 of file DatabaseRecordList.php.

◆ $clickMenuEnabled

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$clickMenuEnabled = true

If TRUE, clickmenus will be rendered

Definition at line 94 of file DatabaseRecordList.php.

◆ $clickTitleMode

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$clickTitleMode = ''

Mode for what happens when a user clicks the title of a record.

Definition at line 231 of file DatabaseRecordList.php.

◆ $clipObj

Clipboard TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$clipObj

Clipboard object

Definition at line 286 of file DatabaseRecordList.php.

◆ $currentLink

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$currentLink = []
protected

Definition at line 356 of file DatabaseRecordList.php.

◆ $currentTable

int [][] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$currentTable = array( )

Used for tracking next/prev uids

Definition at line 182 of file DatabaseRecordList.php.

◆ $deniedNewTables

string [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$deniedNewTables = array( )

Used to indicate which tables (values in the array) that cannot have a create-new-record link. If the array is empty, all tables are allowed.

Definition at line 76 of file DatabaseRecordList.php.

◆ $disableSingleTableView

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$disableSingleTableView = false

Disable single table view

Definition at line 107 of file DatabaseRecordList.php.

◆ $displayColumnSelector

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$displayColumnSelector = true

Definition at line 300 of file DatabaseRecordList.php.

◆ $displayRecordDownload

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$displayRecordDownload = true

Definition at line 308 of file DatabaseRecordList.php.

◆ $duplicateField

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$duplicateField
protected

String, can contain the field name from a table which must have duplicate values marked.

Definition at line 274 of file DatabaseRecordList.php.

◆ $duplicateStack

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$duplicateStack = []
protected

Definition at line 157 of file DatabaseRecordList.php.

◆ $editable

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$editable = true
protected

Definition at line 322 of file DatabaseRecordList.php.

◆ $eventDispatcher

EventDispatcherInterface TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$eventDispatcher
protected

◆ $fieldArray

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$fieldArray = array( )

Decides the columns shown. Filled with values that refers to the keys of the data-array. $this->fieldArray[0] is the title column.

Definition at line 195 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\addElement().

◆ $hideTables

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$hideTables = ''

Tables which should not get listed

Definition at line 201 of file DatabaseRecordList.php.

◆ $hideTranslations

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$hideTranslations = ''

Tables which should not list their translations

Definition at line 123 of file DatabaseRecordList.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$iconFactory
protected

◆ $id

◆ $languagesAllowedForUser

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$languagesAllowedForUser = []
protected

◆ $listOnlyInSingleTableMode

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$listOnlyInSingleTableMode = false

If TRUE, records are listed only if a specific table is selected.

Definition at line 163 of file DatabaseRecordList.php.

◆ $modTSconfig

array [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$modTSconfig

Module configuration

Definition at line 169 of file DatabaseRecordList.php.

◆ $moduleData

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$moduleData = []
protected

◆ $noControlPanels

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$noControlPanels = false

If TRUE, will DISABLE all control panels in lists. (Takes precedence)

Definition at line 88 of file DatabaseRecordList.php.

◆ $overridePageIdList

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$overridePageIdList = []
protected

◆ $overrideUrlParameters

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$overrideUrlParameters = []
protected

Definition at line 349 of file DatabaseRecordList.php.

◆ $page

int TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$page = 0
protected

◆ $pagePermsCache

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$pagePermsCache = []
protected

Definition at line 390 of file DatabaseRecordList.php.

◆ $pageRow

string [] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$pageRow = array( )

Set to the page record (see writeTop())

Definition at line 117 of file DatabaseRecordList.php.

◆ $perms_clause

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$perms_clause = ''

Page select permissions

Definition at line 207 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getSearchableWebmounts().

◆ $possibleTranslations

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$possibleTranslations = []
protected

◆ $recPath_cache

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$recPath_cache = []
protected

Definition at line 130 of file DatabaseRecordList.php.

◆ $referenceCount

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$referenceCount = []
protected

Definition at line 315 of file DatabaseRecordList.php.

◆ $returnUrl

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$returnUrl = ''

Return URL

Definition at line 213 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL().

◆ $searchLevels

int TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$searchLevels = 0
protected

◆ $searchString

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$searchString = ''

◆ $setFields

string [][] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$setFields = array( )

Fields to display for the current table

Definition at line 250 of file DatabaseRecordList.php.

◆ $showClipboardActions

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$showClipboardActions = false

If TRUE, will show the clipboard related actions in the table header.

Definition at line 82 of file DatabaseRecordList.php.

◆ $showLimit

int TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$showLimit = 0

◆ $showLocalizeColumn

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$showLocalizeColumn = []
protected

Definition at line 398 of file DatabaseRecordList.php.

◆ $showOnlyTranslatedRecords

◆ $sortField

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$sortField

Field, to sort list by

Definition at line 136 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL().

◆ $sortRev

bool TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$sortRev

Field, indicating to sort in reverse order.

Definition at line 268 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL().

◆ $spaceIcon

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$spaceIcon
protected

◆ $table

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$table = ''

Tablename if single-table mode

Definition at line 219 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\columnSelector(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createDownloadButtonForTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createNewRecordButton(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getColumnsToRender(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getFieldsToSelect(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getPagePermissionsForRecord(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getPreviewUriBuilder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getQueryBuilder(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isClipboardFunctionalityEnabled(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isEditable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isLocalized(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\isRecordCurrentBackendUser(), TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\isRowListingConditionFulfilled(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\languageFlag(), TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\linkWrapItems(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapItems(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkWrapTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\listURL(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeCheckbox(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeLocalizationPanel(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeSearchString(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\overlayEditLockPermissions(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderMultiRecordSelectionActions(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\showNewRecLink(), and TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\start().

◆ $tableDisplayOrder

array TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$tableDisplayOrder = []
protected

Definition at line 336 of file DatabaseRecordList.php.

◆ $tableList

string TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$tableList = ''

Specify a list of tables which are the only ones allowed to be displayed.

Definition at line 280 of file DatabaseRecordList.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\start().

◆ $tableTSconfigOverTCA

mixed [][] TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$tableTSconfigOverTCA = array( )

TSconfig which overwrites TCA-Settings

Definition at line 244 of file DatabaseRecordList.php.

◆ $translateTools

TranslationConfigurationProvider TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$translateTools
protected

◆ $uriBuilder

UriBuilder TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::$uriBuilder
protected