TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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= '')
 
 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= '*')
 
 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 AbstractRecordList
 __construct ()
 
 addElement ($h, $icon, $data, $rowParams= '', $_= '', $_2= '', $colType= 'td')
 
 writeTop ()
 
 fwd_rwd_nav ($table= '')
 
 fwd_rwd_HTML ($type, $pointer, $table= '')
 
 listURL ($altId= '')
 
 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=array())
 
 isRecordCurrentBackendUser ($table, $row)
 
 overlayEditLockPermissions ($table, $row=array(), $editPermission=true)
 
 editLockPermissions ()
 
 getDatabaseConnection ()
 
 getModule ()
 
 getDocumentTemplate ()
 
- Protected Member Functions inherited from AbstractDatabaseRecordList
 getSearchFields ($tableName)
 
 getBackendUserAuthentication ()
 
 getDatabaseConnection ()
 
- Protected Member Functions inherited from AbstractRecordList
 determineScriptUrl ()
 
 getThisScript ()
 
 getTranslateTools ()
 
 generateReferenceToolTip ($references, $launchViewParameter= '')
 
 getLanguageService ()
 
 getDatabaseConnection ()
 

Protected Attributes

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

Additional Inherited Members

- Public Attributes inherited from DatabaseRecordList
 $allowedNewTables = array()
 
 $deniedNewTables = array()
 
 $newWizards = false
 
 $dontShowClipControlPanels = false
 
 $showClipboard = false
 
 $noControlPanels = false
 
 $clickMenuEnabled = true
 
 $totalRowCount
 
 $spaceIcon
 
 $disableSingleTableView = false
 
 $pageRow = array()
 
 $csvOutput = false
 
 $clipObj
 
 $CBnames = array()
 
 $translations
 
 $selFieldList
 
 $pageinfo
 
 $MOD_MENU
 
- Static Protected Member Functions inherited from DatabaseRecordList
static removeControlFieldsFromFieldRow (array $row=array())
 

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