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

Public Member Functions

string linkWrapItems ($table, $uid, $code, $row)
 
 setRelatingTableAndField ($tableName, $fieldName)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\RecordList\DatabaseRecordList
 __construct (protected readonly IconFactory $iconFactory, protected readonly UriBuilder $uriBuilder, protected readonly TranslationConfigurationProvider $translateTools, protected readonly EventDispatcherInterface $eventDispatcher, protected readonly BackendViewFactory $backendViewFactory, protected readonly ModuleProvider $moduleProvider,)
 
 setRequest (ServerRequestInterface $request)
 
 getColumnsToRender (string $table, bool $includeMetaColumns, string $selectedPreset='')
 
string[] getFieldsToSelect (string $table, array $columnsToRender)
 
string getTable ($table)
 
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)
 
 makeLocalizationPanel ($table, $row, array $translations)
 
string addSortLink ($label, $field, $table)
 
mixed[] recPath ($pid)
 
bool showNewRecLink ($table)
 
 addActionToCellGroup (&$cells, $action, $actionKey)
 
 setIsEditable (bool $isEditable)
 
 isEditable (string $table)
 
 setModuleData (ModuleData $moduleData)
 
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
string generateList ()
 
 getQueryBuilder (string $table, array $fields=[' *'], bool $addSorting=true, int $firstResult=0, int $maxResult=0)
 
string linkWrapTable (string $table, string $label)
 
string listURL ($altId='', $table='-1', $exclList='')
 
 setOverrideUrlParameters (array $urlParameters, ServerRequestInterface $request)
 
 setTableDisplayOrder (array $orderInformation)
 
 getOverridePageIdList ()
 
 setOverridePageIdList (array $overridePageIdList)
 
 showOnlyTranslatedRecords (bool $showOnlyTranslatedRecords)
 
 setLanguagesAllowedForUser (array $languagesAllowedForUser)
 

Protected Member Functions

bool isRowListingConditionFulfilled ($table, $row)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\RecordList\DatabaseRecordList
 applyPresetToColumns (string $table, string $selectedPreset, array $columnsToRender)
 
 createActionButtonNewRecord (string $table)
 
 createActionButtonDownload (string $table, int $totalItems)
 
 createActionButtonColumnSelector (string $table)
 
 createActionButtonCollapse (string $table)
 
 getPreviewUriBuilder (string $table, array $row)
 
int getReferenceCount ($tableName, $uid)
 
string renderListNavigation (string $table, int $totalItems, int $itemsPerPage)
 
 getPagePermissionsForRecord (string $table, array $row)
 
bool isRecordCurrentBackendUser ($table, $row)
 
 isRecordDeletePlaceholder (array $row)
 
bool overlayEditLockPermissions ($table, $row=[], $editPermission=true)
 
array getTablesToRender ()
 
string makeSearchString (string $table, int $currentPid, QueryBuilder $queryBuilder)
 
string linkUrlMail (string $code, string $testString)
 
int[] getSearchableWebmounts (int $id, int $depth)
 
QueryBuilder addPageIdConstraint (string $tableName, QueryBuilder $queryBuilder, int $searchLevels)
 
 getBackendUserAuthentication ()
 
string addElement ($data, $rowParams='', $colType='td')
 
int[] getPossibleTranslations (int $pageUid)
 
string languageFlag (string $table, array $row)
 
 generateReferenceToolTip (string $table, int $uid)
 
string renderCheckboxActions ()
 
 renderMultiRecordSelectionActions (string $table, array $currentIdList)
 
 createShowItemTagAttributes (string $arguments)
 
 getLanguageService ()
 
 isLocalized (string $table, array $row)
 
 getNoViewWithDokTypes (array $tsConfig)
 
 isClipboardFunctionalityEnabled (string $table, array $row=[])
 
 addDividerToCellGroup (array &$cells)
 
 isTextFieldType (string $fieldType)
 

Protected Attributes

string $relatingTable
 
string $relatingField
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\RecordList\DatabaseRecordList
string $spaceIcon
 
array $recPath_cache = []
 
ModuleData $moduleData = null
 
array $duplicateStack = []
 
array $addElement_tdCssClass = []
 
int $searchLevels = 0
 
int $page = 0
 
string $duplicateField = ''
 
array $referenceCount = []
 
bool $editable = true
 
array $tableDisplayOrder = []
 
array $overridePageIdList = []
 
array $overrideUrlParameters = []
 
array $currentLink = []
 
bool $showOnlyTranslatedRecords = false
 
array $possibleTranslations = []
 
array $languagesAllowedForUser = []
 
array $pagePermsCache = []
 
array $showLocalizeColumn = []
 
ServerRequestInterface $request
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Backend\RecordList\DatabaseRecordList
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 = ''
 
array $tableTSconfigOverTCA = []
 
array $setFields = []
 
string $searchString = ''
 
bool $sortRev = false
 
string $tableList = ''
 
Clipboard $clipObj
 
string[] $CBnames = array( )
 
bool $displayColumnSelector = true
 
bool $displayRecordDownload = true
 

Detailed Description

Displays the page tree for browsing database records.

Definition at line 28 of file ElementBrowserRecordList.php.

Member Function Documentation

◆ isRowListingConditionFulfilled()

bool TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::isRowListingConditionFulfilled (   $table,
  $row 
)
protected

Check if all row listing conditions are fulfilled.

Parameters
string$table‪String Table name
array$row‪Array Record
Returns
‪bool True, if all conditions are fulfilled.

Reimplemented from TYPO3\CMS\Backend\RecordList\DatabaseRecordList.

Definition at line 77 of file ElementBrowserRecordList.php.

References $GLOBALS, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingField, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingTable, and TYPO3\CMS\Backend\RecordList\DatabaseRecordList\$table.

◆ linkWrapItems()

string TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::linkWrapItems (   $table,
  $uid,
  $code,
  $row 
)

Returns the title (based on $code) of a record (from table $table) with the proper link around (that is for "pages"-records a link to the level of that record...)

Parameters
string$table‪Table name
int$uid‪UID (not used here)
string$code‪Title string
array$row‪Records array (from table name)
Returns
‪string

Reimplemented from TYPO3\CMS\Backend\RecordList\DatabaseRecordList.

Definition at line 51 of file ElementBrowserRecordList.php.

References TYPO3\CMS\Backend\RecordList\DatabaseRecordList\$table, and TYPO3\CMS\Backend\RecordList\DatabaseRecordList\getLanguageService().

◆ setRelatingTableAndField()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::setRelatingTableAndField (   $tableName,
  $fieldName 
)

Set which pointing field (in the TCEForm) we are currently rendering the element browser for

Parameters
string$tableName‪Table name
string$fieldName‪Field name

Definition at line 116 of file ElementBrowserRecordList.php.

References $GLOBALS.

Member Data Documentation

◆ $relatingField

string TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::$relatingField
protected

Field name of the field pointing to this element browser

Definition at line 40 of file ElementBrowserRecordList.php.

Referenced by TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\isRowListingConditionFulfilled().

◆ $relatingTable

string TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::$relatingTable
protected

Table name of the field pointing to this element browser

Definition at line 34 of file ElementBrowserRecordList.php.

Referenced by TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\isRowListingConditionFulfilled().