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

Public Member Functions

string linkWrapItems ($table, $uid, $code, $row)
 
 setRelatingTableAndField ($tableName, $fieldName)
 
 generateList ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 __construct ()
 
 getDocHeaderButtons (ModuleTemplate $moduleTemplate)
 
string getTable ($table, $id, $rowList='')
 
string renderListRow ($table, $row, $cc, $titleCol, $thumbsCol, $indent=0)
 
string renderListHeader ($table, $currentIdList)
 
string makeControl ($table, $row)
 
string makeClip ($table, $row)
 
string[] makeLocalizationPanel ($table, $row)
 
string fieldSelectBox ($table, $formFields=true)
 
string linkClipboardHeaderIcon ($string, $table, $cmd, $warning='', $title='')
 
bool clipNumPane ()
 
string addSortLink ($code, $field, $table)
 
mixed[] recPath ($pid)
 
bool showNewRecLink ($table)
 
string makeReturnUrl ()
 
 setCsvRow ($csvRow)
 
 outputCSV ($prefix)
 
 addActionToCellGroup (&$cells, $action, $actionKey)
 
 setIsEditable (bool $isEditable)
 
bool isEditable (string $table)
 
 setModuleData (array $moduleData=[])
 
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
string getSearchBox ($formFields=true)
 
 setDispFields ()
 
TYPO3 CMS Core Database Query QueryBuilder getQueryBuilder (string $table, int $pageId, array $additionalConstraints=[], array $fields=[' *'])
 
 setTotalItems (string $table, int $pageId, array $constraints)
 
string makeSearchString ($table, $currentPid=-1)
 
string linkWrapTable ($table, $code)
 
string linkUrlMail ($code, $testString)
 
string listURL ($altId='', $table='-1', $exclList='')
 
string[] makeFieldList ($table, $dontCheckUser=false, $addDateFields=false)
 
 setOverrideUrlParameters (array $urlParameters)
 
 setTableDisplayOrder (array $orderInformation)
 
array getOverridePageIdList ()
 
 setOverridePageIdList (array $overridePageIdList)
 
string addElement ($h, $icon, $data, $rowParams='', $_='', $_2='', $colType='td')
 
 initializeLanguages ()
 
string languageFlag ($sys_language_uid, $addAsAdditionalText=true)
 
 showOnlyTranslatedRecords (bool $showOnlyTranslatedRecords)
 
DatabaseRecordList setLanguagesAllowedForUser (array $languagesAllowedForUser)
 

Protected Member Functions

bool isRowListingConditionFulfilled ($table, $row)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
string getOnClickForRow (string $table, array $row)
 
int getReferenceCount ($tableName, $uid)
 
int getPointerForPage ($page)
 
string renderListNavigation ($renderPart='top')
 
 initCSV ()
 
 addHeaderRowToCSV ()
 
 addToCSV (array $row=[])
 
bool isRecordCurrentBackendUser ($table, $row)
 
 isRecordDeletePlaceholder (array $row)
 
bool overlayEditLockPermissions ($table, $row=[], $editPermission=true)
 
bool editLockPermissions ()
 
QueryBuilder prepareQueryBuilder (string $table, int $pageId, array $fieldList=[' *'], array $additionalConstraints=[], QueryBuilder $queryBuilder, bool $addSorting=true)
 
string[] getSearchFields ($tableName)
 
int[] getSearchableWebmounts ($id, $depth, $perms_clause)
 
QueryBuilder addPageIdConstraint (string $tableName, QueryBuilder $queryBuilder)
 
BackendUserAuthentication getBackendUserAuthentication ()
 
 determineScriptUrl ()
 
string getThisScript ()
 
TranslationConfigurationProvider getTranslateTools ()
 
 generateReferenceToolTip (string $table, int $uid)
 
string createShowItemTagAttributes (string $arguments)
 
string getVisibleColumns (array $tableTCA, string $type)
 
LanguageService getLanguageService ()
 
array getNoViewWithDokTypes (array $tsConfig)
 

Protected Attributes

string $relatingTable
 
string $relatingField
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
array $moduleData = array( )
 
string[] $csvLines = array( )
 
int[][] $referenceCount = array( )
 
bool $editable = true
 
IconFactory $iconFactory
 
UriBuilder $uriBuilder
 
array[] $tableDisplayOrder = array( )
 
array $overridePageIdList = array( )
 
mixed[] $overrideUrlParameters = array( )
 
array $currentLink = array( )
 
bool $showOnlyTranslatedRecords = false
 
array $systemLanguagesOnPage
 
array $languagesAllowedForUser = array( )
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
string[] $allowedNewTables = array( )
 
string[] $deniedNewTables = array( )
 
bool $dontShowClipControlPanels = false
 
bool $showClipboard = false
 
bool $noControlPanels = false
 
bool $clickMenuEnabled = true
 
int $totalRowCount
 
string $spaceIcon
 
bool $disableSingleTableView = false
 
string[] $pageRow = array( )
 
array $pageOverlays = array( )
 
array $languageIconTitles = array( )
 
string $hideTranslations = ''
 
bool $csvOutput = false
 
mixed[] $recPath_cache = array( )
 
string $sortField
 
int $itemsLimitPerTable = 20
 
array $addElement_tdParams = array( )
 
int $id
 
string[] $duplicateStack = array( )
 
string $script = 'index.php'
 
bool $listOnlyInSingleTableMode = false
 
string $thisScript = ''
 
TranslationConfigurationProvider $translateTools
 
int $itemsLimitSingleTable = 100
 
int[][] $tablesCollapsed = array( )
 
array[] $modTSconfig
 
string $HTMLcode = ''
 
array $addElement_tdCssClass = array( )
 
bool $thumbs = false
 
int[][] $currentTable = array( )
 
int $allFields = 0
 
int $showLimit = 0
 
array $fieldArray = array( )
 
string $hideTables = ''
 
string[] $displayFields
 
string $oddColumnsCssClass = ''
 
int $fixedL = 30
 
string $perms_clause = ''
 
string $returnUrl = ''
 
string $table = ''
 
int $calcPerms = 0
 
string $clickTitleMode = ''
 
int $showIcon = 1
 
int $searchLevels = 0
 
int $iLimit = 0
 
string $totalItems = ''
 
mixed[][] $tableTSconfigOverTCA = array( )
 
string[] $pageRecord = array( )
 
string[] $setFields = array( )
 
int $counter = 0
 
int $firstElementNumber = 0
 
int $eCounter = 0
 
string $searchString = ''
 
bool $sortRev
 
string $duplicateField
 
string $tableList = ''
 
TYPO3 CMS Backend Clipboard Clipboard $clipObj
 
string[] $CBnames = array( )
 
string[] $translations
 
string $selFieldList
 
mixed[] $pageinfo
 
string[] $MOD_MENU
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
static mixed[] removeControlFieldsFromFieldRow (array $row=[])
 

Detailed Description

Displays the page tree for browsing database records.

Definition at line 26 of file ElementBrowserRecordList.php.

Member Function Documentation

◆ generateList()

TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList::generateList ( )

Local version that sets allFields to TRUE to support userFieldSelect

See also
fieldSelectBox

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

Definition at line 121 of file ElementBrowserRecordList.php.

◆ 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\Recordlist\RecordList\DatabaseRecordList.

Definition at line 76 of file ElementBrowserRecordList.php.

References $GLOBALS, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingField, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingTable, and TYPO3\CMS\Recordlist\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\Recordlist\RecordList\DatabaseRecordList.

Definition at line 49 of file ElementBrowserRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\$table, TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getLanguageService(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitlePrep(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

◆ 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 105 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 38 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 32 of file ElementBrowserRecordList.php.

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