TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList Class Reference
Inheritance diagram for TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList:
TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList TYPO3\CMS\Backend\RecordList\AbstractRecordList

Public Member Functions

 linkWrapItems ($table, $uid, $code, $row)
 
 setRelatingTableAndField ($tableName, $fieldName)
 
 generateList ()
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 __construct ()
 
 getButtons ()
 
 getDocHeaderButtons (ModuleTemplate $moduleTemplate)
 
 renderListRow ($table, $row, $cc, $titleCol, $thumbsCol, $indent=0)
 
 renderListHeader ($table, $currentIdList)
 
 makeControl ($table, $row)
 
 makeClip ($table, $row)
 
 makeLocalizationPanel ($table, $row)
 
 fieldSelectBox ($table, $formFields=true)
 
 linkClipboardHeaderIcon ($string, $table, $cmd, $warning='', $title='')
 
 clipNumPane ()
 
 addSortLink ($code, $field, $table)
 
 recPath ($pid)
 
 showNewRecLink ($table)
 
 makeReturnUrl ()
 
 setCsvRow ($csvRow)
 
 outputCSV ($prefix)
 
 addActionToCellGroup (&$cells, $action, $actionKey)
 
 setIsEditable ($isEditable)
 
 isEditable ($table)
 
- Public Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 start ($id, $table, $pointer, $search='', $levels=0, $showLimit=0)
 
 generateList ()
 
 getTable ($tableName, $id, $fields='')
 
 setDispFields ()
 
 thumbCode ($row, $table, $field)
 
 makeQueryArray ($table, $id, $addWhere='', $fieldList=' *')
 
 setTotalItems ($queryParts)
 
 makeSearchString ($table, $currentPid=-1)
 
 linkWrapTable ($table, $code)
 
 linkWrapItems ($table, $uid, $code, $row)
 
 linkUrlMail ($code, $testString)
 
 listURL ($altId='', $table='-1', $exclList='')
 
 requestUri ()
 
 makeFieldList ($table, $dontCheckUser=false, $addDateFields=false)
 
 localizationRedirect ($justLocalized)
 
 setOverrideUrlParameters (array $urlParameters)
 
 setTableDisplayOrder (array $orderInformation)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 __construct ()
 
 addElement ($h, $icon, $data, $rowParams='', $_='', $_2='', $colType='td')
 
 writeTop ()
 
 fwd_rwd_nav ($table='')
 
 fwd_rwd_HTML ($type, $pointer, $table='')
 
 listURL ($altId='', $table='-1', $exclList='')
 
 CBfunctions ()
 
 initializeLanguages ()
 
 languageFlag ($sys_language_uid, $addAsAdditionalText=true)
 

Protected Member Functions

 isRowListingConditionFulfilled ($table, $row)
 
- Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 isRowListingConditionFulfilled ($table, $row)
 
 getReferenceCount ($tableName, $uid)
 
 getPointerForPage ($page)
 
 renderListNavigation ($renderPart='top')
 
 createReferenceHtml ($tableName, $uid)
 
 initCSV ()
 
 addHeaderRowToCSV ()
 
 addToCSV (array $row=[])
 
 isRecordCurrentBackendUser ($table, $row)
 
 overlayEditLockPermissions ($table, $row=[], $editPermission=true)
 
 editLockPermissions ()
 
 getDatabaseConnection ()
 
 getModule ()
 
 getDocumentTemplate ()
 
- Protected Member Functions inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 getSearchFields ($tableName)
 
 getBackendUserAuthentication ()
 
 getDatabaseConnection ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 determineScriptUrl ()
 
 getThisScript ()
 
 getTranslateTools ()
 
 generateReferenceToolTip ($references, $launchViewParameter='')
 
 getLanguageService ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $relatingTable
 
 $relatingField
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList
 $csvLines = []
 
 $referenceCount = []
 
 $editable = true
 
 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
 $overrideUrlParameters = []
 
 $tableDisplayOrder = []
 
- Protected Attributes inherited from TYPO3\CMS\Backend\RecordList\AbstractRecordList
 $id = 0
 
 $iconFactory
 

Additional Inherited Members

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

Detailed Description

Displays the page tree for browsing database records.

Definition at line 25 of file ElementBrowserRecordList.php.

Member Function Documentation

◆ generateList()

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

Local version that sets allFields to TRUE to support userFieldSelect

Returns
void
See also
fieldSelectBox

Definition at line 123 of file ElementBrowserRecordList.php.

◆ isRowListingConditionFulfilled()

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

Check if all row listing conditions are fulfilled.

Parameters
string$tableString Table name
array$rowArray Record
Returns
bool True, if all conditions are fulfilled.

Definition at line 77 of file ElementBrowserRecordList.php.

References $GLOBALS, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingField, TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\$relatingTable, TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$table, and TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction().

◆ linkWrapItems()

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$tableTable name
int$uidUID (not used here)
string$codeTitle string
array$rowRecords array (from table name)
Returns
string

Definition at line 50 of file ElementBrowserRecordList.php.

References TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\$table, TYPO3\CMS\Backend\RecordList\AbstractRecordList\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$tableNameTable name
string$fieldNameField name

Definition at line 106 of file ElementBrowserRecordList.php.

References $GLOBALS.

Member Data Documentation

◆ $relatingField

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

◆ $relatingTable

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