TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ElementBrowserRecordList Class Reference
Inheritance diagram for ElementBrowserRecordList:
DatabaseRecordList AbstractDatabaseRecordList AbstractRecordList

Public Member Functions

 linkWrapItems ($table, $uid, $code, $row)
 
 setRelatingTableAndField ($tableName, $fieldName)
 
 generateList ()
 
- Public Member Functions inherited from 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 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= '*')
 
 getQueryBuilder (string $table, int $pageId, array $additionalConstraints=[], array $fields=['*'])
 
 setTotalItems (string $table, int $pageId, array $constraints)
 
 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)
 
 getOverridePageIdList ()
 
 setOverridePageIdList (array $overridePageIdList)
 
- Public Member Functions inherited from 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 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 ()
 
 getModule ()
 
 getDocumentTemplate ()
 
- Protected Member Functions inherited from AbstractDatabaseRecordList
 buildQueryParameters (string $table, int $pageId, array $fieldList=['*'], array $additionalConstraints=[])
 
 getSearchFields ($tableName)
 
 getPageIdConstraint (string $tableName)
 
 getBackendUserAuthentication ()
 
- Protected Member Functions inherited from AbstractRecordList
 determineScriptUrl ()
 
 getThisScript ()
 
 getTranslateTools ()
 
 generateReferenceToolTip ($references, $launchViewParameter= '')
 
 getLanguageService ()
 

Protected Attributes

 $relatingTable
 
 $relatingField
 
- Protected Attributes inherited from DatabaseRecordList
 $csvLines = []
 
 $referenceCount = []
 
 $editable = true
 
 $iconFactory
 
- Protected Attributes inherited from AbstractDatabaseRecordList
 $overrideUrlParameters = []
 
 $overridePageIdList = []
 
 $tableDisplayOrder = []
 
- Protected Attributes inherited from AbstractRecordList
 $id = 0
 
 $iconFactory
 

Additional Inherited Members

- Public Attributes inherited from 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 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
 
 $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 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 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 ( )

Local version that sets allFields to TRUE to support userFieldSelect

Returns
void
See also
fieldSelectBox

Definition at line 123 of file ElementBrowserRecordList.php.

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, ElementBrowserRecordList\$relatingField, ElementBrowserRecordList\$relatingTable, AbstractDatabaseRecordList\$table, and GeneralUtility\callUserFunction().

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 AbstractDatabaseRecordList\$table, AbstractRecordList\getLanguageService(), BackendUtility\getRecordTitle(), BackendUtility\getRecordTitlePrep(), and Icon\SIZE_SMALL.

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
protected
$relatingTable
protected